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

gEDA-cvs: branch: master updated (1.4.0-20080127-12-gde64a4f)



The branch, master has been updated
       via  de64a4f9ff006a80536359d148da9db57594083f (commit)
      from  db168efbbe2656ef2103852e92e02ec3ce58e300 (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_delete.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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

commit de64a4f9ff006a80536359d148da9db57594083f
Author: Werner Hoch <werner.ho@xxxxxx>
Date:   Fri Feb 15 00:38:51 2008 +0000

    o_delete_text(): only call o_attrib_slot_update() for COMPLEX objects.
    
    Fixes crash observed when deleting attributes from a net.

:100644 100644 60f6f38... df45421... M	gschem/src/o_delete.c

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

commit de64a4f9ff006a80536359d148da9db57594083f
Author: Werner Hoch <werner.ho@xxxxxx>
Date:   Fri Feb 15 00:38:51 2008 +0000

    o_delete_text(): only call o_attrib_slot_update() for COMPLEX objects.
    
    Fixes crash observed when deleting attributes from a net.

diff --git a/gschem/src/o_delete.c b/gschem/src/o_delete.c
index 60f6f38..df45421 100644
--- a/gschem/src/o_delete.c
+++ b/gschem/src/o_delete.c
@@ -216,7 +216,7 @@ void o_delete_text(GSCHEM_TOPLEVEL *w_current, OBJECT *obj)
   toplevel->page_current->object_tail =
     (OBJECT *) return_tail(toplevel->page_current->object_head);
 
-  if (o_parent != NULL)
+  if (o_parent != NULL && o_parent->type == OBJ_COMPLEX)
     o_attrib_slot_update(toplevel, o_parent);
 }
 




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