Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10631
Modified Files: Tag: impd_0_37 g_dropper.c Log Message: bugfix
Index: g_dropper.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/g_dropper.c,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** g_dropper.c 27 Apr 2004 18:09:34 -0000 1.1.2.5 --- g_dropper.c 28 Apr 2004 10:04:13 -0000 1.1.2.6 *************** *** 107,116 **** int ldx=0, ldy=-6, isa=0, fstyle=0, fs=8; t_symbol *srl[3]={0,0,0}; ! pd_scanargs(argc,argv,"iiaaaiiiiiii", &a,&isa,&srl[0],&srl[1],&srl[2], ! &ldx,&ldy,&fstyle,&fs,&bflcol[0],&bflcol[1],&bflcol[2]); ! iem_inttosymargs(&x->x_gui.x_isa, isa); x->x_gui.x_font_style = fstyle; - iemgui_new_getnames2(&x->x_gui, 4, srl[0], srl[1], srl[2]); x->x_gui.x_draw = (t_iemfunptr)dropper_draw; x->x_gui.x_glist = (t_glist *)canvas_getcurrent(); --- 107,122 ---- int ldx=0, ldy=-6, isa=0, fstyle=0, fs=8; t_symbol *srl[3]={0,0,0}; ! if (pd_scanargs(argc,argv,"iiaaaiiiiiii", &a,&isa,&srl[0],&srl[1],&srl[2], ! &ldx,&ldy,&fstyle,&fs,&bflcol[0],&bflcol[1],&bflcol[2])) ! { ! iem_inttosymargs(&x->x_gui.x_isa, isa); ! iemgui_new_getnames2(&x->x_gui, 2, srl[0], srl[1], srl[2]); ! } ! else { ! post("ei??"); ! iemgui_new_getnames(&x->x_gui, 6, 0); ! } x->x_gui.x_font_style = fstyle; x->x_gui.x_draw = (t_iemfunptr)dropper_draw; x->x_gui.x_glist = (t_glist *)canvas_getcurrent();