[gegl] gegl-dot: fix a bug that made appear a lonely node next to a subgraph



commit 744bc9a090445024cd590bed025e8a36731ad345
Author: Michael Murà <batolettre gmail com>
Date:   Sat Jul 23 23:58:35 2011 +0200

    gegl-dot: fix a bug that made appear a lonely node next to a subgraph

 gegl/gegl-dot.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gegl/gegl-dot.c b/gegl/gegl-dot.c
index 6b71c89..4f3e90a 100644
--- a/gegl/gegl-dot.c
+++ b/gegl/gegl-dot.c
@@ -212,8 +212,10 @@ gegl_dot_add_graph (GString     *string,
             gegl_dot_add_graph (string, node, name);
             g_free (name);
           }
-
-        gegl_dot_util_add_node (string, node);
+        else
+          {
+            gegl_dot_util_add_node (string, node);
+          }
 
         entry = g_slist_next (entry);
       }



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