]> granicus.if.org Git - graphviz/commitdiff
makeBottomFlatEnd: [nfc] use a C99 bool instead of boolean
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 18 Dec 2021 16:38:59 +0000 (08:38 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Dec 2021 18:33:22 +0000 (10:33 -0800)
lib/dotgen/dotsplines.c

index 5d1315c4e1b1b650c1498c81680776a5c0ef2950..7d7d80ab5e7cdead061258ff78c4f37fc8977a29 100644 (file)
@@ -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;