From ac4f930156be7affb9aa21b1e33b4683c98e9a3e Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 30 Sep 2022 19:35:41 -0700 Subject: [PATCH] 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. --- cmd/tools/gv2gxl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0