From 9d9eeee202734930ad98a7c395b97b4202c66a67 Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 28 Apr 2005 11:32:07 +0000 Subject: [PATCH] fix hang in checkStyle() when style set --- lib/common/shapes.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/common/shapes.c b/lib/common/shapes.c index f800b47fc..d85fe4cfa 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -278,7 +278,6 @@ static char **checkStyle(node_t * n, int *flagp) while ((p = *pp)) { if (strcmp(p, "filled") == 0) { istyle |= FILLED; - pp++; } else if (strcmp(p, "rounded") == 0) { istyle |= ROUNDED; qp = pp; /* remove rounded from list passed to renderer */ @@ -295,8 +294,8 @@ static char **checkStyle(node_t * n, int *flagp) } while (*qp); } else if (strcmp(p, "invis") == 0) { istyle |= INVISIBLE; - pp++; } + pp++; } } if ((poly = ND_shape(n)->polygon)) -- 2.40.0