From: ellson Date: Fri, 13 Jan 2006 19:50:49 +0000 (+0000) Subject: edge proto attributes need root graph X-Git-Tag: LAST_LIBGRAPH~32^2~6872 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=085e3a67293b35d95f03d029be85ad78e29e483a;p=graphviz edge proto attributes need root graph --- diff --git a/tclpkg/gv/gv.cpp b/tclpkg/gv/gv.cpp index 577c42466..1977b52d9 100644 --- a/tclpkg/gv/gv.cpp +++ b/tclpkg/gv/gv.cpp @@ -258,7 +258,7 @@ char *setv(Agedge_t *e, char *attr, char *val) if (!e || !attr || !val) return NULL; - g = e->tail->graph; + g = e->tail->graph->root; a = agfindattr(g->proto->e, attr); if (!a) a = agedgeattr(g, attr, empty_string);