From: erg Date: Fri, 9 Nov 2007 18:09:46 +0000 (+0000) Subject: Fix tab bug X-Git-Tag: LAST_LIBGRAPH~32^2~5044 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a821b39ba42422b976186af0bb6acf84a18a7b90;p=graphviz Fix tab bug --- diff --git a/lib/cgraph/write.c b/lib/cgraph/write.c index b8a3eef59..ebf87e596 100644 --- a/lib/cgraph/write.c +++ b/lib/cgraph/write.c @@ -562,6 +562,7 @@ static void write_body(Agraph_t * g, iochan_t * ofile) int agwrite(Agraph_t * g, void *ofile) { + Level = 0; /* re-initialize tab level */ write_hdr(g, ofile, TRUE); write_body(g, ofile); write_trl(g, ofile);