]> granicus.if.org Git - graphviz/commitdiff
abbreviate an increment
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 18 Apr 2021 05:04:23 +0000 (22:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 20:31:57 +0000 (13:31 -0700)
lib/neatogen/heap.c

index 4a8926ff4ebf74a73b83f8ce0a35aace58a9829c..0c0989884a63cf55cc686cad9af75ef5296baf07 100644 (file)
@@ -85,7 +85,7 @@ Point PQ_min(void)
     Point answer;
 
     while (PQhash[PQmin].PQnext == NULL) {
-       PQmin += 1;
+       ++PQmin;
     }
     answer.x = PQhash[PQmin].PQnext->vertex->coord.x;
     answer.y = PQhash[PQmin].PQnext->ystar;