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

index 252b1ffb6558626cf0c0900d9dd2c1ec36a45539..21638dce6868b55b287eb7ff0092370ae8ae35f0 100644 (file)
@@ -348,7 +348,7 @@ merge_trapezoids (int segnum, int tfirst, int tlast, int side, trap_t* tr,
   while (t > 0 && _greater_than_equal_to(&tr[t].lo, &tr[tlast].lo))
     {
       int tnext, ptnext;
-      boolean cond;
+      bool cond;
       if (side == S_LEFT)
        cond = ((tnext = tr[t].d0) > 0 && tr[tnext].rseg == segnum) ||
                ((tnext = tr[t].d1) > 0 && tr[tnext].rseg == segnum);