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

index 1f8e89cc4b19a238e34ceae50ce0e62f6bf0c29d..a29f88ebfceca33b44688f61541762afb7fc3d82 100644 (file)
@@ -311,7 +311,7 @@ static int user_spline(attrsym_t * E_pos, edge_t * e)
                gv_free_splines(e);
                return 0;
            }
-           pos = pos + nc;
+           pos += nc;
            pp->x = x;
            pp->y = y;
            pp++;