]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lookup.cc
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / lily / lookup.cc
index fc6a2e896bca4afc494bd608076c6c05221078cc..0050002223848461c7adfed53f0f1ac5bf07cc6a 100644 (file)
@@ -256,8 +256,8 @@ Lookup::round_filled_polygon (vector<Offset> const &points,
   /* remove consecutive duplicate points */
   for (vsize i = 0; i < points.size (); i++)
     {
-      int next_i = (i + 1) % points.size ();
-      Real d = (points[i] - points[next_i]).length ();
+      int next = (i + 1) % points.size ();
+      Real d = (points[i] - points[next]).length ();
       if (d < epsilon)
        programming_error ("Polygon should not have duplicate points");
     }