]> granicus.if.org Git - graphviz/commitdiff
Fix bug 2254
authorEmden Gansner <erg@research.att.com>
Wed, 13 Feb 2013 19:33:35 +0000 (14:33 -0500)
committerEmden Gansner <erg@research.att.com>
Wed, 13 Feb 2013 19:33:35 +0000 (14:33 -0500)
lib/dotgen/dotsplines.c

index df1cf240d72baab05cdee2778c00c35550f8090a..d272bb56663258a0cc0e1d7dc4c66f60f06aa985 100644 (file)
@@ -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;
     }