On 9/11/09, DJ Delorie <[email protected]> wrote:
>
> Weird, the grid moved.
>
> Re-setting the grid to 0.25mm puts everything back; it didn't move the
> *parts*.
diff --git a/src/misc.c b/src/misc.c
index df34363..316cd19 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -589,7 +589,7 @@ GetDataBoundingBox (DataTypePtr Data)
 void
 CenterDisplay (LocationType X, LocationType Y, Boolean Delta)
 {
-  int save_grid = PCB->Grid;
+  double save_grid = PCB->Grid;
   PCB->Grid = 1;
   if (Delta)
     {

Regards,
Ineiev


_______________________________________________
geda-user mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Reply via email to