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

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



The branch, master has been updated
       via  d5d41afc5a3b080a801577fc19434434c13d012b (commit)
      from  7f070cde37c28a4b543059a3666a84019f3b84bd (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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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

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

    action.c: Replace use of obsolete conversion macro TO_PCB with a constant.
    
    This changes the location tolerance in NotifyLine()'s call to
    LookupConnection() from what previously evaluated to 100 internal units,
    to a constant of one internal unit.
    
    This is consistent with other similar calls to LookupConnection(),
    where it appears that a wide search area is not desired, so the smallest
    possible value is passed.

:100644 100644 967a95f... c03042e... M	src/action.c

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

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

    action.c: Replace use of obsolete conversion macro TO_PCB with a constant.
    
    This changes the location tolerance in NotifyLine()'s call to
    LookupConnection() from what previously evaluated to 100 internal units,
    to a constant of one internal unit.
    
    This is consistent with other similar calls to LookupConnection(),
    where it appears that a wide search area is not desired, so the smallest
    possible value is passed.

diff --git a/src/action.c b/src/action.c
index 967a95f..c03042e 100644
--- a/src/action.c
+++ b/src/action.c
@@ -891,7 +891,7 @@ NotifyLine (void)
 	  type = SearchScreen (Crosshair.X, Crosshair.Y,
 			       PIN_TYPE | PAD_TYPE | VIA_TYPE, &ptr1, &ptr2,
 			       &ptr3);
-	  LookupConnection (Crosshair.X, Crosshair.Y, true, TO_PCB (1),
+	  LookupConnection (Crosshair.X, Crosshair.Y, true, 1,
 			    FOUNDFLAG);
 	}
       if (type == PIN_TYPE || type == VIA_TYPE)




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