]> granicus.if.org Git - graphviz/commitdiff
Fix bug 884
authorerg <devnull@localhost>
Fri, 17 Feb 2006 19:48:03 +0000 (19:48 +0000)
committererg <devnull@localhost>
Fri, 17 Feb 2006 19:48:03 +0000 (19:48 +0000)
lib/common/shapes.c

index db56ea89798128f41c7c902eb410e96a264ad28a..4224bf6cc7f4750092032a09baaf376163ee0712 100644 (file)
@@ -1879,7 +1879,7 @@ static void record_gencode(GVJ_t * job, node_t * n)
     if (streq(ND_shape(n)->name, "Mrecord"))
        style |= ROUNDED;
     if (style & (ROUNDED | DIAGONALS))
-       node_round_corners(job, n, A, 4, ROUNDED);
+       node_round_corners(job, n, A, 4, style);
     else
        gvrender_polygon(job, A, 4, style & FILLED);
     gen_fields(job, n, f);