]> granicus.if.org Git - graphviz/commitdiff
fix build breakages
authorellson <devnull@localhost>
Wed, 15 Oct 2008 09:58:32 +0000 (09:58 +0000)
committerellson <devnull@localhost>
Wed, 15 Oct 2008 09:58:32 +0000 (09:58 +0000)
lib/common/labels.c

index a7ab43530fec32209a1f2c1a63dfb0cb7c31d7cf..0de34153d25d6cb43dddbe0072e4b955259f0ba8 100644 (file)
@@ -175,10 +175,10 @@ textlabel_t *make_label(void *obj, char *str, int kind, double fontsize, char *f
            case AGEDGE:
 #ifndef WITH_CGRAPH
                agerr(AGPREV, "in label of edge %s %s %s\n",
-                       e->tail->name, agisdirected(g)?"->":"--", e->head->name);
+                       e->tail->name, AG_IS_DIRECTED(g)?"->":"--", e->head->name);
 #else
                agerr(AGPREV, "in label of edge %s %s %s\n",
-                       agnameof(agtail(e)), AG_IS_DIRECTED(g)?"->":"--", agnameof(aghead(e)));
+                       agnameof(agtail(e)), agisdirected(g)?"->":"--", agnameof(aghead(e)));
 #endif
                break;
            }