From 0a17fe260a2687d80062d4b271add30a5207a675 Mon Sep 17 00:00:00 2001 From: erg Date: Wed, 17 Feb 2010 22:13:59 +0000 Subject: [PATCH] Fix bug in nameOf for edges --- lib/gvpr/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gvpr/compile.c b/lib/gvpr/compile.c index cabc0b73a..ba85a1250 100644 --- a/lib/gvpr/compile.c +++ b/lib/gvpr/compile.c @@ -100,7 +100,7 @@ static char *nameOf(Expr_t * ex, Agobj_t * obj, Sfio_t* tmps) break; default: /* edge */ e = (Agedge_t *) obj; - key = agnameof(AGMKOUT(obj)); + key = agnameof(AGMKOUT(e)); sfputr(tmps, agnameof(AGTAIL(e)), -1); if (agisdirected(agraphof(e))) sfputr(tmps, "->", -1); -- 2.40.0