From e9d77fbf83abd20a98d33eca091ff2e5fd3c27b0 Mon Sep 17 00:00:00 2001 From: north Date: Mon, 20 Oct 2008 14:41:10 +0000 Subject: [PATCH] Attempt to fix bug 1484 --- lib/cgraph/write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1