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

gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-359-g0b87dfd)



The branch, master has been updated
       via  0b87dfd3c9a4188d4112015bbc7f6f0a38e8fb34 (commit)
      from  65a541a1f302454a8e9e7a7119a59323bb982912 (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
=========

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


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

commit 0b87dfd3c9a4188d4112015bbc7f6f0a38e8fb34
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Thu Dec 11 13:16:50 2008 +0000

    gattrib: Unstaged portion of last commit (oops!)

:100644 100644 8cbeb21... e70ddbc... M	gattrib/src/s_toplevel.c

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

commit 0b87dfd3c9a4188d4112015bbc7f6f0a38e8fb34
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Thu Dec 11 13:16:50 2008 +0000

    gattrib: Unstaged portion of last commit (oops!)

diff --git a/gattrib/src/s_toplevel.c b/gattrib/src/s_toplevel.c
index 8cbeb21..e70ddbc 100644
--- a/gattrib/src/s_toplevel.c
+++ b/gattrib/src/s_toplevel.c
@@ -418,8 +418,6 @@ s_toplevel_sheetdata_to_toplevel (PAGE *page)
        o_iter = g_list_previous (o_iter)) {
     OBJECT *o_current = o_iter->data;
 
-    printf ("Current object is %p\n", o_current);
-
     /* ------- Object is a component.  Handle component attributes. ------- */
     if (o_current->type == OBJ_COMPLEX) {    /* Note that OBJ_COMPLEX = component + attribs */
 
@@ -475,7 +473,9 @@ s_toplevel_sheetdata_to_toplevel (PAGE *page)
    */
   copy_list = g_list_copy (page->object_list);
 
-  for (o_iter = copy_list; o_iter != NULL; o_iter = g_list_next (o_iter)) {
+  for (o_iter = g_list_last (copy_list);
+       o_iter != NULL;
+       o_iter = g_list_previous (o_iter)) {
     OBJECT *o_current = o_iter->data;
 
     /* ------- Object is a complex.  Handle pins by looking ------ */




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