From: Emden Gansner Date: Fri, 25 Mar 2016 13:53:45 +0000 (-0400) Subject: Fix bug where, if margin in records is given as a single number, the uninitialized... X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abca06ab3d992722b06e3968f90bc3177c264e27;p=graphviz Fix bug where, if margin in records is given as a single number, the uninitialized value marginy is used. --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index dd2903eba..efb53403d 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -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