[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gEDA-dev: PCB: hid/png.c bug fix



Friends -

Quick fix for the PNG hid.  The existing code will print
the backside, even if it's deselected.

   - Larry

diff -ur --exclude=aclocal.m4 --exclude=CVS --exclude=configure --exclude=Makefile.in pcb-cvs/src/hid/png/png.c pcb-lrd/src/hid/png/png.c
--- pcb-cvs/src/hid/png/png.c	2006-07-07 08:52:26.000000000 -0700
+++ pcb-lrd/src/hid/png/png.c	2006-07-14 11:22:11.000000000 -0700
@@ -514,6 +514,8 @@
 	case SL (SILK, BOTTOM):
 	  if (SL_MYSIDE (idx))
 	    return PCB->ElementOn;
+	  else
+	    return 0;
 	}
     }
   else


_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev