Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14949
Modified Files: Tag: devel_0_39 desire.c Log Message: fixed bug in [tgl]'s on and nonzero
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.192 retrieving revision 1.1.2.193 diff -C2 -d -r1.1.2.192 -r1.1.2.193 *** desire.c 19 Nov 2006 08:01:53 -0000 1.1.2.192 --- desire.c 20 Nov 2006 03:14:43 -0000 1.1.2.193 *************** *** 391,395 **** t_canvasenvironment *canvas_getenv(t_canvas *x) { if (!x) bug("canvas_getenv"); ! while (!x->env) if (!(x = x->owner)) bug("t_canvasenvironment", x); return x->env; } --- 391,398 ---- t_canvasenvironment *canvas_getenv(t_canvas *x) { if (!x) bug("canvas_getenv"); ! while (!x->env) { ! x = x->owner; ! if (!x) {bug("t_canvasenvironment", x); return 0;} ! } return x->env; } *************** *** 7092,7097 ****
static int toggle_pickle(t_toggle *x, t_foo *foo) { ! return pd_pickle(foo,"iiaaaiiiiccci;?",&x->w,&x->isa,&x->snd,&x->rcv,&x->lab, ! &x->ldx,&x->ldy,&x->font_style,&x->fontsize,&x->bcol,&x->fcol,&x->lcol,&x->on); }
--- 7095,7100 ----
static int toggle_pickle(t_toggle *x, t_foo *foo) { ! return pd_pickle(foo,"iiaaaiiiicccf;f",&x->w,&x->isa,&x->snd,&x->rcv,&x->lab, ! &x->ldx,&x->ldy,&x->font_style,&x->fontsize,&x->bcol,&x->fcol,&x->lcol,&x->on,&x->nonzero); }