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

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



The branch, master has been updated
       via  6ee0bf592060806969097754e387cd19cd9bfc4c (commit)
      from  e4a747dcc4fc8c2e1087cf876a17be58d4b70912 (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/rats.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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

commit 6ee0bf592060806969097754e387cd19cd9bfc4c
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Fix rats bug (SF 3137324)
    
    When adding rats from a netlist, we want to skip nets with too few
    connections, not netlists with too few nets.

:100644 100644 8dc513c... 0ed87dd... M	src/rats.c

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

commit 6ee0bf592060806969097754e387cd19cd9bfc4c
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Fix rats bug (SF 3137324)
    
    When adding rats from a netlist, we want to skip nets with too few
    connections, not netlists with too few nets.

diff --git a/src/rats.c b/src/rats.c
index 8dc513c..0ed87dd 100644
--- a/src/rats.c
+++ b/src/rats.c
@@ -567,7 +567,7 @@ DrawShortestRats (NetListTypePtr Netl, void (*funcp) ())
   Cardinal n, m, j;
   NetTypePtr next, subnet, theSubnet = NULL;
 
-  if (Netl->NetN < 2)
+  if (Netl->Net[0].ConnectionN < 2)
     return false;
 
   /*




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