From: ellson Date: Mon, 24 Dec 2007 04:50:36 +0000 (+0000) Subject: fix b1255 - using fixedsize values X-Git-Tag: LAST_LIBGRAPH~32^2~4953 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8348532c6da7cff4e97386901beca3916763d4c5;p=graphviz fix b1255 - using fixedsize values --- 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);