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

gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-368-gd2877ab)



The branch, master has been updated
       via  d2877ab739c26ed6330fdeac2711326442395640 (commit)
      from  eca34fca24e6d29a1b42c95daee0602c452fecd6 (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
=========

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


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

commit d2877ab739c26ed6330fdeac2711326442395640
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Fri Dec 12 13:29:55 2008 +0000

    libgeda: Only add buses to the tile system if ADDING_SEL is FALSE
    
    No functional changes here, since s_tile_add_line_object() silently
    returns if ADDING_SEL is TRUE. To make the code similar to other
    OBEJCTs, don't call s_tile_add_line_object() in the first place.

:100644 100644 1151349... 63626e7... M	libgeda/src/o_bus_basic.c

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

commit d2877ab739c26ed6330fdeac2711326442395640
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Fri Dec 12 13:29:55 2008 +0000

    libgeda: Only add buses to the tile system if ADDING_SEL is FALSE
    
    No functional changes here, since s_tile_add_line_object() silently
    returns if ADDING_SEL is TRUE. To make the code similar to other
    OBEJCTs, don't call s_tile_add_line_object() in the first place.

diff --git a/libgeda/src/o_bus_basic.c b/libgeda/src/o_bus_basic.c
index 1151349..63626e7 100644
--- a/libgeda/src/o_bus_basic.c
+++ b/libgeda/src/o_bus_basic.c
@@ -92,9 +92,8 @@ OBJECT *o_bus_new(TOPLEVEL *toplevel,
   new_node->draw_func = bus_draw_func;  
   new_node->sel_func = select_func;  
 
-  s_tile_add_line_object(toplevel, new_node);
-
   if (!toplevel->ADDING_SEL) {
+    s_tile_add_line_object(toplevel, new_node);
     s_conn_update_object (toplevel, new_node);
   }
 




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