From e77e237c6652d176486e87c9b428ae6ea2fb5262 Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 23 Oct 2008 14:14:15 +0000 Subject: [PATCH] cgraph fixes --- lib/dotgen/cluster.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dotgen/cluster.c b/lib/dotgen/cluster.c index 76dc06560..69666c845 100644 --- a/lib/dotgen/cluster.c +++ b/lib/dotgen/cluster.c @@ -460,7 +460,7 @@ void mark_lowclusters(Agraph_t * root) #ifndef WITH_CGRAPH while (e && (vn = e->head)->u.node_type == VIRTUAL) { #else /* WITH_CGRAPH */ - while (e && (vn = ND_node_type(aghead(e))) == VIRTUAL) { + while (e && (ND_node_type(vn = aghead(e))) == VIRTUAL) { #endif /* WITH_CGRAPH */ ND_clust(vn) = NULL; e = ND_out(aghead(e)).list[0]; @@ -493,7 +493,7 @@ static void mark_lowcluster_basic(Agraph_t * g) #ifndef WITH_CGRAPH while (e && (vn = e->head)->u.node_type == VIRTUAL) { #else /* WITH_CGRAPH */ - while (e && (vn = ND_node_type(aghead(e))) == VIRTUAL) { + while (e && (ND_node_type(vn = aghead(e))) == VIRTUAL) { #endif /* WITH_CGRAPH */ if (ND_clust(vn) == NULL) ND_clust(vn) = g; -- 2.40.0