From: ellson Date: Wed, 15 Oct 2008 09:58:32 +0000 (+0000) Subject: fix build breakages X-Git-Tag: LAST_LIBGRAPH~32^2~3120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae9b505006b777769008d300dd80c95cc42ddd5d;p=graphviz fix build breakages --- diff --git a/lib/common/labels.c b/lib/common/labels.c index a7ab43530..0de34153d 100644 --- a/lib/common/labels.c +++ b/lib/common/labels.c @@ -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; }