From 7f06c2002707e4a1584de576e865d7ea4f0ab17f Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 10 Jan 2022 20:48:46 -0800 Subject: [PATCH] point_gencode: use a C99 bool for local 'filled' --- lib/common/shapes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 88281f3dc..b25e91095 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -3078,7 +3078,7 @@ static void point_gencode(GVJ_t * job, node_t * n) pointf P, *vertices; static pointf *AF; static int A_size; - boolean filled; + bool filled; char *color; int doMap = obj->url || obj->explicit_tooltip; @@ -3137,7 +3137,7 @@ static void point_gencode(GVJ_t * job, node_t * n) gvrender_set_fillcolor(job, color); /* emit fill color */ penColor(job, n); /* emit pen color */ } - filled = TRUE; + filled = true; /* if no boundary but filled, set boundary color to fill color */ if (peripheries == 0) { @@ -3154,7 +3154,7 @@ static void point_gencode(GVJ_t * job, node_t * n) } gvrender_ellipse(job, AF, sides, filled); /* fill innermost periphery only */ - filled = FALSE; + filled = false; } if (doMap) { -- 2.40.0