From: Matthew Fernandez Date: Sat, 18 Dec 2021 16:38:59 +0000 (-0800) Subject: makeBottomFlatEnd: [nfc] use a C99 bool instead of boolean X-Git-Tag: 3.0.0~122^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=465e1d17fded1c32a2110c1a21248edffe22872c;p=graphviz makeBottomFlatEnd: [nfc] use a C99 bool instead of boolean --- 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;