]> granicus.if.org Git - graphviz/commitdiff
Fix bug where, if margin in records is given as a single number, the uninitialized...
authorEmden Gansner <emdenrg@google.com>
Fri, 25 Mar 2016 13:53:45 +0000 (09:53 -0400)
committerEmden Gansner <emdenrg@google.com>
Fri, 25 Mar 2016 13:53:45 +0000 (09:53 -0400)
lib/common/shapes.c

index dd2903eba6da34d521139001fd8644ddcb497931..efb53403d5ee17ddb784614453428a2aa5b8553e 100644 (file)
@@ -3391,7 +3391,7 @@ static pointf size_reclbl(node_t * n, field_t * f)
                    if (i > 1)
                        dimen.y += 2 * POINTS(marginy);
                    else
-                       dimen.y += 2 * POINTS(marginy);
+                       dimen.y += 2 * POINTS(marginx);
                } else
                    PAD(dimen);
            } else