[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB 20081128: Design Rule Checker moves elements and traces off grid



On 9/11/09, DJ Delorie <dj@xxxxxxxxxxx> 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
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user