]> granicus.if.org Git - graphviz/commitdiff
also pencolor for clusters
authorJohn Ellson <ellson@research.att.com>
Mon, 23 Jan 2012 13:21:29 +0000 (08:21 -0500)
committerJohn Ellson <ellson@research.att.com>
Mon, 23 Jan 2012 13:21:29 +0000 (08:21 -0500)
lib/common/emit.c

index a8812041a0c10faaba2d09bf29bfbd89e3a2e919..4f87ec1f9e1a5775117702dca324c6f4cafb5125 100644 (file)
@@ -2862,6 +2862,8 @@ static void emit_cluster_colors(GVJ_t * job, graph_t * g)
        emit_cluster_colors(job, sg);
        if (((str = agget(sg, "color")) != 0) && str[0])
            gvrender_set_pencolor(job, str);
+       if (((str = agget(sg, "pencolor")) != 0) && str[0])
+           gvrender_set_pencolor(job, str);
        if (((str = agget(sg, "bgcolor")) != 0) && str[0])
            gvrender_set_pencolor(job, str);
        if (((str = agget(sg, "fillcolor")) != 0) && str[0])