Update of /cvsroot/pure-data/externals/ggee/control In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24945
Modified Files: getdir.c Log Message: huh ?, this surely never worked, hope it does now
Index: getdir.c =================================================================== RCS file: /cvsroot/pure-data/externals/ggee/control/getdir.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** getdir.c 24 Feb 2005 15:21:56 -0000 1.1 --- getdir.c 26 Apr 2005 17:38:29 -0000 1.2 *************** *** 28,35 **** int i = x->x_level; t_canvas* last = x->x_canvas; ! do { i--; ! last = last->gl_owner; ! } while (last && i);
outlet_symbol(x->x_outlet,canvas_getdir(last)); --- 28,36 ---- int i = x->x_level; t_canvas* last = x->x_canvas; ! ! while (i>0) { i--; ! if (last->gl_owner) last = last->gl_owner; ! }
outlet_symbol(x->x_outlet,canvas_getdir(last));