freebsd-ports/graphics/xfig/files/patch-w_drawprim.c
Martin Wilke 2e20a797a1 - Update to 3.2.5
PR:		111249
Submitted by:	Eric P. Scott <eps+pbug0704@ana.com>
2007-06-10 00:53:05 +00:00

11 lines
575 B
C

--- w_drawprim.c.orig Sun Jan 14 16:51:46 2007
+++ w_drawprim.c
@@ -512,7 +512,7 @@
gccache[ERASE] = makegc(ERASE, x_fg_color.pixel, x_bg_color.pixel);
gccache[INV_PAINT] = makegc(INV_PAINT, x_fg_color.pixel, x_bg_color.pixel);
/* parse any grid color spec */
-fprintf(stderr,"color = '%s'\n",appres.grid_color);
+if (appres.DEBUG) fprintf(stderr,"color = '%s'\n",appres.grid_color);
XParseColor(tool_d, tool_cm, appres.grid_color, &tmp_color);
if (XAllocColor(tool_d, tool_cm, &tmp_color)==0) {
fprintf(stderr,"Can't allocate color for grid \n");