From 702c2cce5a3beca477df04c7ce6b2f8b650a6a0a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 5 Dec 2021 11:38:05 -0800 Subject: [PATCH] strdup_and_subst_obj0: [nfc] use a C99 bool for 'has_hp' instead of boolean --- lib/common/labels.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/common/labels.c b/lib/common/labels.c index f1002f85b..f00eaea91 100644 --- a/lib/common/labels.c +++ b/lib/common/labels.c @@ -12,6 +12,7 @@ #include #include #include +#include static char *strdup_and_subst_obj0 (char *str, void *obj, int escBackslash); @@ -289,7 +290,7 @@ static char *strdup_and_subst_obj0 (char *str, void *obj, int escBackslash) char *tp_str = "", *hp_str = ""; char *g_str = "\\G", *n_str = "\\N", *e_str = "\\E", *h_str = "\\H", *t_str = "\\T", *l_str = "\\L"; - boolean has_hp = FALSE; + bool has_hp = false; boolean has_tp = FALSE; int isEdge = 0; textlabel_t *tl; -- 2.40.0