From: erg Date: Fri, 31 Aug 2007 22:02:31 +0000 (+0000) Subject: Partial fix for bug 1183 X-Git-Tag: LAST_LIBGRAPH~32^2~5317 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0653e83a57320d5b5c2222c04397746433e221ab;p=graphviz Partial fix for bug 1183 --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 192ebccae..02a4a6e9a 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -1512,6 +1512,11 @@ static void emit_edge_graphics(GVJ_t * job, edge_t * e) arrow_gen(job, EMIT_HDRAW, bz.ep, bz.list[bz.size - 1], scale, bz.eflag); } + /* arrow_gen resets the job style + * If we have more splines to do, restore the old one. + */ + if ((ED_spl(e)->size>1) && (bz.sflag||bz.eflag) && styles) + gvrender_set_style(job, styles); } free(bzf.list); }