]> granicus.if.org Git - graphviz/commitdiff
Don't reset the traversal type with each BEG_G. This would overwrite
authorEmden R. Gansner <erg@gentoo.local>
Sat, 13 Jun 2015 21:02:49 +0000 (17:02 -0400)
committerEmden R. Gansner <erg@gentoo.local>
Sat, 13 Jun 2015 21:02:49 +0000 (17:02 -0400)
any setting of it in the BEGIN section. This state should be in control
of the gvpr script after the default is set.
Revert change 909e4b433d24bce1d68e08be3eb429df15e12f26

lib/gvpr/gvpr.c

index d0cfd4c8a01ee20dc7c59c08b0aebcf2a6a3c750..ab0da5621bb511ee273392ebb83cea8c99dfbcf9 100644 (file)
@@ -1045,7 +1045,6 @@ int gvpr (int argc, char *argv[], gvpropts * uopts)
                    state->curgraph = (Agraph_t*)clone (0, (Agobj_t*)(state->curgraph));
                state->curobj = (Agobj_t *) state->curgraph;
                state->tvroot = 0;
-               state->tvt = TV_flat;
                if (bp->begg_stmt)
                    exeval(xprog->prog, bp->begg_stmt, state);