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

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



The branch, master has been updated
       via  ec803f59850f204a9743e2b24efc591500f2eebc (commit)
      from  33b29abb66fb6d620a5902e77448c1fbf787c8b7 (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/action.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


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

commit ec803f59850f204a9743e2b24efc591500f2eebc
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    action.c: Partially fix up some stroke handling bugs
    
    1. Stroke event coordinates are already in PCB units, drop bogus conversions
    2. Fix incorrect variable name

:100644 100644 53dde28... 967a95f... M	src/action.c

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

commit ec803f59850f204a9743e2b24efc591500f2eebc
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    action.c: Partially fix up some stroke handling bugs
    
    1. Stroke event coordinates are already in PCB units, drop bogus conversions
    2. Fix incorrect variable name

diff --git a/src/action.c b/src/action.c
index 53dde28..967a95f 100644
--- a/src/action.c
+++ b/src/action.c
@@ -2141,9 +2141,9 @@ EventMoveCrosshair (int ev_x, int ev_y)
 #ifdef HAVE_LIBSTROKE
   if (mid_stroke)
     {
-      StrokeBox.X2 = TO_PCB_X (ev_x);
-      StrokeBox.Y2 = TO_PCB_Y (ev_y);
-      stroke_record (Event->x, ev_y);
+      StrokeBox.X2 = ev_x;
+      StrokeBox.Y2 = ev_y;
+      stroke_record (ev_x, ev_y);
       return;
     }
 #endif /* HAVE_LIBSTROKE */




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