From: north Date: Mon, 20 Oct 2008 14:41:10 +0000 (+0000) Subject: Attempt to fix bug 1484 X-Git-Tag: LAST_LIBGRAPH~32^2~3066 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9d77fbf83abd20a98d33eca091ff2e5fd3c27b0;p=graphviz Attempt to fix bug 1484 --- diff --git a/lib/cgraph/write.c b/lib/cgraph/write.c index b4f2ea6ee..9e6c542f5 100644 --- a/lib/cgraph/write.c +++ b/lib/cgraph/write.c @@ -556,7 +556,7 @@ static void write_body(Agraph_t * g, iochan_t * ofile) /* has_attr = (agattrrec(g) != NIL(Agattr_t*)); */ write_subgs(g, ofile); - dd = agdatadict(g); + dd = agdatadict(agroot(g)); for (n = agfstnode(g); n; n = agnxtnode(g, n)) { if (write_node_test(g, n, AGSEQ(n))) write_node(n, ofile, dd->dict.n);