Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18274
Modified Files: Tag: branch-v0-39-2-extended g_graph.c Log Message: fixed misplaced sys_font vars which was causing a crash when drawing array labels (fix for bug #1665804
Index: g_graph.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_graph.c,v retrieving revision 1.9.2.3 retrieving revision 1.9.2.4 diff -C2 -d -r1.9.2.3 -r1.9.2.4 *** g_graph.c 28 Jan 2007 21:50:54 -0000 1.9.2.3 --- g_graph.c 22 Feb 2007 04:52:19 -0000 1.9.2.4 *************** *** 748,753 **** t_symbol *s = garray_getname((t_garray *)g); sys_vgui(".x%lx.c create text %d %d -text {%s} -anchor sw\ ! -font {{%s} %d normal} -tags %s\n", sys_font, ! (long)glist_getcanvas(x), x1, ymin, s->s_name, sys_hostfontsize(glist_getfont(x)), tag); } --- 748,753 ---- t_symbol *s = garray_getname((t_garray *)g); sys_vgui(".x%lx.c create text %d %d -text {%s} -anchor sw\ ! -font {{%s} %d normal} -tags %s\n", ! (long)glist_getcanvas(x), x1, ymin, s->s_name, sys_font, sys_hostfontsize(glist_getfont(x)), tag); } *************** *** 833,838 **** glist_getcanvas(x), (int)glist_xtopixels(x, atof(x->gl_xlabel[i]->s_name)), ! (int)glist_ytopixels(x, x->gl_xlabely), sys_font, ! x->gl_xlabel[i]->s_name, glist_getfont(x), tag);
/* draw y labels */ --- 833,838 ---- glist_getcanvas(x), (int)glist_xtopixels(x, atof(x->gl_xlabel[i]->s_name)), ! (int)glist_ytopixels(x, x->gl_xlabely), ! x->gl_xlabel[i]->s_name, sys_font, glist_getfont(x), tag);
/* draw y labels */