From abca06ab3d992722b06e3968f90bc3177c264e27 Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Fri, 25 Mar 2016 09:53:45 -0400 Subject: [PATCH] Fix bug where, if margin in records is given as a single number, the uninitialized value marginy is used. --- lib/common/shapes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1