]> granicus.if.org Git - graphviz/commitdiff
Make sure fill color is set for tapered edges.
authorEmden Gansner <erg@research.att.com>
Wed, 31 Oct 2012 17:37:06 +0000 (13:37 -0400)
committerEmden Gansner <erg@research.att.com>
Wed, 31 Oct 2012 17:37:06 +0000 (13:37 -0400)
lib/common/emit.c

index e68446fc3fd8410259925c0a7a422c9552d28b27..9f083b33a190e25c2f9b8adcbdc92bf869a8a082 100644 (file)
@@ -2253,6 +2253,7 @@ static void emit_edge_graphics(GVJ_t * job, edge_t * e, char** styles)
        if (tapered) {
            stroke_t* stp;
            if (*color == '\0') color = DEFAULT_COLOR;
+           if (*fillcolor == '\0') fillcolor = DEFAULT_COLOR;
            gvrender_set_pencolor(job, "transparent");
            gvrender_set_fillcolor(job, color);
            bz = ED_spl(e)->list[0];