]> granicus.if.org Git - graphviz/commitdiff
strdup_and_subst_obj0: [nfc] use a C99 bool for 'has_tp' instead of boolean
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 5 Dec 2021 19:38:47 +0000 (11:38 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 11 Dec 2021 17:20:37 +0000 (09:20 -0800)
lib/common/labels.c

index f00eaea918e586209430e543da3edf960a2c82f4..f42a89c7e043b0fa829052f01ef800b316b735d1 100644 (file)
@@ -291,7 +291,7 @@ static char *strdup_and_subst_obj0 (char *str, void *obj, int escBackslash)
     char *g_str = "\\G", *n_str = "\\N", *e_str = "\\E",
        *h_str = "\\H", *t_str = "\\T", *l_str = "\\L";
     bool has_hp = false;
-    boolean has_tp = FALSE;
+    bool has_tp = false;
     int isEdge = 0;
     textlabel_t *tl;
     port pt;