gEDA-dev: Libgeda - Sourceforge bug 160757
Wojciech Kazubski
wk0 at o2.pl
Sat Feb 3 13:41:30 EST 2007
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
More information about the geda-dev
mailing list