summaryrefslogtreecommitdiff
path: root/src/gtkext/graph/node.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-11-13 20:31:09 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-11-13 20:31:09 (GMT)
commit866993263387f96ebe2e482d63c9c4225e2c6085 (patch)
tree2c6c802bc04e6c2b9b43db8adbeb8352f86fef49 /src/gtkext/graph/node.c
parentb36b57e81623194ba56d4862d2fba49d944a2793 (diff)
Improved the flow graph a little more.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@283 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/graph/node.c')
-rw-r--r--src/gtkext/graph/node.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkext/graph/node.c b/src/gtkext/graph/node.c
index e2af8f7..0d746e2 100644
--- a/src/gtkext/graph/node.c
+++ b/src/gtkext/graph/node.c
@@ -314,6 +314,8 @@ void g_graph_node_connect(const GGraphNode *node, gint x, gint y, GdkPoint **poi
(*points)[*count - 1].y = alloc->y + alloc->height;
}
+ else (*count)--;
+
}