]> granicus.if.org Git - graphviz/commitdiff
reflow some text
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 18 Apr 2021 05:13:53 +0000 (22:13 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 20:31:57 +0000 (13:31 -0700)
lib/neatogen/voronoi.c

index 093831df7bd7c615b48cb7af886c5762f60e532b..016e8a455702a47c91d2d5401ec767fba0d85163 100644 (file)
@@ -39,13 +39,9 @@ void voronoi(int triangulate, Site * (*nextsite) (void))
        if (!PQempty())
            newintstar = PQ_min();
 
-       if (newsite != NULL && (PQempty()
-                                               || newsite->coord.y <
-                                               newintstar.y
-                                               || (newsite->coord.y ==
-                                                   newintstar.y
-                                                   && newsite->coord.x <
-                                                   newintstar.x))) {
+       if (newsite != NULL &&
+      (PQempty() || newsite->coord.y < newintstar.y ||
+       (newsite->coord.y ==newintstar.y && newsite->coord.x < newintstar.x))) {
            /* new site is smallest */
 #ifdef STANDALONE
            out_site(newsite);
@@ -107,8 +103,7 @@ void voronoi(int triangulate, Site * (*nextsite) (void))
            break;
     }
 
-    for (lbnd = ELright(ELleftend); lbnd != ELrightend;
-        lbnd = ELright(lbnd)) {
+    for (lbnd = ELright(ELleftend); lbnd != ELrightend; lbnd = ELright(lbnd)) {
        e = lbnd->ELedge;
        clip_line(e);
 #ifdef STANDALONE