From: Emden Gansner Date: Wed, 13 Feb 2013 19:33:35 +0000 (-0500) Subject: Fix bug 2254 X-Git-Tag: LAST_LIBGRAPH~32^2~235^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=add76b410fd2a7f754405c6d9540b1220a5a1186;p=graphviz Fix bug 2254 --- diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index df1cf240d..d272bb566 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -1158,7 +1158,7 @@ make_flat_adj_edges(path* P, edge_t** edges, int ind, int cnt, edge_t* e0, tn = agtail(e0), hn = aghead(e0); for (i = 0; i < cnt; i++) { e = edges[ind + i]; - if (ND_label(e)) labels++; + if (ED_label(e)) labels++; if (ED_tail_port(e).defined || ED_head_port(e).defined) ports = 1; }