From: Carlos Sánchez de La Lama Date: Wed, 4 Mar 2015 10:44:40 +0000 (+0100) Subject: Fix Issue #0002522: Rendering a clustered digraph twice produces different result... X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~109^2~7^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee585bceeb0f0383ebfdfdb593a2c274b64b1618;p=graphviz Fix Issue #0002522: Rendering a clustered digraph twice produces different result (filled clusters). --- diff --git a/plugin/core/gvrender_core_tk.c b/plugin/core/gvrender_core_tk.c index 66dab5a0d..446217846 100644 --- a/plugin/core/gvrender_core_tk.c +++ b/plugin/core/gvrender_core_tk.c @@ -137,6 +137,8 @@ static void tkgen_begin_job(GVJ_t * job) gvputs(job, ")\n"); } +static int first_periphery; + static void tkgen_begin_graph(GVJ_t * job) { obj_state_t *obj = job->obj; @@ -147,9 +149,9 @@ static void tkgen_begin_graph(GVJ_t * job) gvputs(job, tkgen_string(agnameof(obj->u.g))); } gvprintf(job, " Pages: %d\n", job->pagesArraySize.x * job->pagesArraySize.y); -} -static int first_periphery; + first_periphery = 0; +} static void tkgen_begin_node(GVJ_t * job) {