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

gEDA-dev: Libgeda - Sourceforge bug 160757



Some time ago I found a bug that causes a printed schematic to be misaligned 
on the paper. Here is a patch to correct the bug:
----patch----
--- libgeda-20061020/src/f_print.c.bug160757	2006-08-30 13:06:17.000000000 
+0200
+++ libgeda-20061020/src/f_print.c	2007-02-03 18:30:35.000000000 +0100
@@ -232,7 +232,7 @@
   }
 
   /* Apply a translation to move the origin to where we want it */
-  if (origin_x != 0 && origin_y != 0) {
+  if (origin_x != 0 || origin_y != 0) {
     fprintf(fp, "%d %d translate\n", -origin_x, -origin_y);
   } 
 
----end of patch ----------

Wojciech Kazubski


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