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

gEDA-cvs: gaf.git: branch: master updated (1.5.2-20090328-93-gedf9fad)



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

 gschem/src/o_basic.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


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

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

    Fix breakage in last commit. OBJECT->complex_parent is now OBJECT->parent

:100644 100644 8c4a915... ff6a537... M	gschem/src/o_basic.c

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

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

    Fix breakage in last commit. OBJECT->complex_parent is now OBJECT->parent

diff --git a/gschem/src/o_basic.c b/gschem/src/o_basic.c
index 8c4a915..ff6a537 100644
--- a/gschem/src/o_basic.c
+++ b/gschem/src/o_basic.c
@@ -583,8 +583,8 @@ void o_invalidate_glist (GSCHEM_TOPLEVEL *w_current, GList *list)
  *  OBJECT's natural colour, as appropriate. If toplevel->override_color
  *  is set, that takes precedence.
  *
- *  The complex_parent field of the OBEJCT structure is used to recurse
- *  down and check whether the OBEJCT being drawn is a prim_obj belonging
+ *  The parent field of the OBJECT structure is used to recurse down
+ *  and check whether the OBJECT being drawn is a prim_obj belonging
  *  to some selected OBJECT. If so, SELECT_COLOR is used.
  *
  *  As a convenience, the appropriate color index is looked up using
@@ -605,7 +605,7 @@ COLOR *o_drawing_color (GSCHEM_TOPLEVEL *w_current, OBJECT *object)
     color_idx = SELECT_COLOR;
 
   /* Check if the object, or its parent(s) are selected */
-  for (temp = object; temp != NULL; temp = temp->complex_parent) {
+  for (temp = object; temp != NULL; temp = temp->parent) {
     if (temp->selected) {
       color_idx = SELECT_COLOR;
       break;




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