Code

fix by kur9kin for endless loop from bug 212332
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 16 Apr 2008 21:28:19 +0000 (21:28 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 16 Apr 2008 21:28:19 +0000 (21:28 +0000)
src/display/bezier-utils.cpp

index 3a9aa415fe70a796259c1f0819f954e2482a7864..7957ef56c594e43f51e856e64334f99b1a7b77da 100644 (file)
@@ -154,6 +154,7 @@ copy_without_nans_or_adjacent_duplicates(NR::Point const src[], unsigned src_len
             ++si;
             break;
         }
+        si ++;
     }
     unsigned di = 0;
     for (; si < src_len; ++si) {