From: ellson Date: Thu, 23 Oct 2008 14:14:15 +0000 (+0000) Subject: cgraph fixes X-Git-Tag: LAST_LIBGRAPH~32^2~2990 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e77e237c6652d176486e87c9b428ae6ea2fb5262;p=graphviz cgraph fixes --- 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;