From 465e1d17fded1c32a2110c1a21248edffe22872c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 18 Dec 2021 08:38:59 -0800 Subject: [PATCH] makeBottomFlatEnd: [nfc] use a C99 bool instead of boolean --- lib/dotgen/dotsplines.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dotgen/dotsplines.c b/lib/dotgen/dotsplines.c index 5d1315c4e..7d7d80ab5 100644 --- a/lib/dotgen/dotsplines.c +++ b/lib/dotgen/dotsplines.c @@ -1405,7 +1405,7 @@ makeFlatEnd (graph_t* g, spline_info_t* sp, path* P, node_t* n, edge_t* e, pathe */ static void makeBottomFlatEnd (graph_t* g, spline_info_t* sp, path* P, node_t* n, edge_t* e, - pathend_t* endp, boolean isBegin) + pathend_t* endp, bool isBegin) { boxf b; @@ -1518,8 +1518,8 @@ make_flat_bottom_edges(graph_t* g, spline_info_t* sp, path * P, edge_t ** edges, stepx = ((double)sp->Multisep) / (cnt + 1); stepy = vspace / (cnt+1); - makeBottomFlatEnd (g, sp, P, tn, e, &tend, TRUE); - makeBottomFlatEnd (g, sp, P, hn, e, &hend, FALSE); + makeBottomFlatEnd (g, sp, P, tn, e, &tend, true); + makeBottomFlatEnd (g, sp, P, hn, e, &hend, false); for (i = 0; i < cnt; i++) { boxf b; -- 2.50.1