From ae9b505006b777769008d300dd80c95cc42ddd5d Mon Sep 17 00:00:00 2001 From: ellson Date: Wed, 15 Oct 2008 09:58:32 +0000 Subject: [PATCH] fix build breakages --- lib/common/labels.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.40.0