From 2eecc60a95aa9fef13446027ccafd808bb2d0a00 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Mon, 16 Sep 2013 16:55:42 -0400 Subject: [PATCH] Fix bug 2370 --- lib/common/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/emit.c b/lib/common/emit.c index b6c8d2f67..a2c672601 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -2119,6 +2119,7 @@ static int multicolor (GVJ_t * job, edge_t * e, char** styles, char* colors, int if (AEQ0(s->t)) continue; gvrender_set_pencolor(job, s->color); left -= s->t; + endcolor = s->color; if (first) { first = 0; splitBSpline (&bz, s->t, &bz_l, &bz_r); @@ -2130,7 +2131,6 @@ static int multicolor (GVJ_t * job, edge_t * e, char** styles, char* colors, int } } else if (AEQ0(left)) { - endcolor = s->color; gvrender_beziercurve(job, bz_r.list, bz_r.size, FALSE, FALSE, FALSE); free (bz_r.list); break; -- 2.40.0