From: Matthew Fernandez Date: Sat, 1 Oct 2022 02:35:41 +0000 (-0700) Subject: gv2gxl: use use a C99 bool when calling 'agsubedge' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac4f930156be7affb9aa21b1e33b4683c98e9a3e;p=graphviz gv2gxl: use use a C99 bool when calling 'agsubedge' The upper case versions of the boolean literals are legacy Graphviz-specific values from when the code base was using a pre-C99 standard. --- diff --git a/cmd/tools/gv2gxl.c b/cmd/tools/gv2gxl.c index 55727ddc4..bb529d3b9 100644 --- a/cmd/tools/gv2gxl.c +++ b/cmd/tools/gv2gxl.c @@ -692,7 +692,7 @@ static bool writeEdgeTest(Agraph_t *g, Agedge_t *e) { /* can use agedge() because we subverted the dict compar_f */ for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg)) { - if (agsubedge(subg, e, FALSE)) + if (agsubedge(subg, e, false)) return false; } return true;