From 8348532c6da7cff4e97386901beca3916763d4c5 Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 24 Dec 2007 04:50:36 +0000 Subject: [PATCH] fix b1255 - using fixedsize values --- lib/common/shapes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/common/shapes.c b/lib/common/shapes.c index be393827f..9a664d9cd 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -736,7 +736,8 @@ static void poly_init(node_t * n) agerr(AGWARN, "node '%s', graph '%s' size too small for label\n", n->name, n->graph->name); - dimen.x = dimen.y = 0; + dimen.x = width; + dimen.y = height; } else { dimen.x = MAX(dimen.x, imagesize.x+2); -- 2.40.0