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

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



The branch, master has been updated
       via  a6bf59afc18f3e6f89c44a55b7c4270c485f4fd7 (commit)
      from  b0fd3fe6acc9fe632b6c0cd3d5a8485f293d7889 (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/crosshair.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


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

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

    crosshair.c: Fix layer check for off-grid line snapping in line-draw mode

:100644 100644 bb0a87b... 76b072b... M	src/crosshair.c

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

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

    crosshair.c: Fix layer check for off-grid line snapping in line-draw mode

diff --git a/src/crosshair.c b/src/crosshair.c
index bb0a87b..76b072b 100644
--- a/src/crosshair.c
+++ b/src/crosshair.c
@@ -850,8 +850,7 @@ check_snap_offgrid_line (struct snap_data *snap_data,
    * the same layer), and when moving a line end-point
    * (but don't snap to the same line)
    */
-  if ((Settings.Mode != LINE_MODE ||
-       Crosshair.AttachedObject.Ptr1 != ptr1) &&
+  if ((Settings.Mode != LINE_MODE || CURRENT != ptr1) &&
       (Settings.Mode != MOVE_MODE ||
        Crosshair.AttachedObject.Ptr1 != ptr1 ||
        Crosshair.AttachedObject.Type != LINEPOINT_TYPE ||




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