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

gEDA-cvs: pcb.git: branch: master updated (8f71a521ff2a20ccc2f3fe086c1c3a7e0823fdc7)



The branch, master has been updated
       via  8f71a521ff2a20ccc2f3fe086c1c3a7e0823fdc7 (commit)
      from  0d7251b1062d3e335878e37555be6f614f977924 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/misc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit 8f71a521ff2a20ccc2f3fe086c1c3a7e0823fdc7
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Fix "Design Rule Checker moves elements and traces off grid"
    
    Patch from Ineiev <ineiev@xxxxxxxxx> to keep the grid from changing
    just because DRC ran.

:100644 100644 5b04469... 693da81... M	src/misc.c

=========
 Changes
=========

commit 8f71a521ff2a20ccc2f3fe086c1c3a7e0823fdc7
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Fix "Design Rule Checker moves elements and traces off grid"
    
    Patch from Ineiev <ineiev@xxxxxxxxx> to keep the grid from changing
    just because DRC ran.

diff --git a/src/misc.c b/src/misc.c
index 5b04469..693da81 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -599,7 +599,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)
     {




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