diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-22 03:02:18 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-22 03:02:18 +0000 |
commit | 7911ade991336adab70a99f50fbe9dc5ef79d0a0 (patch) | |
tree | 32b420b83f2ae1487fb143084f0c443c34f05667 /src/pathops | |
parent | 495fe2ccc168c027e6cd08f57c72fbefdce01319 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13551 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pathops')
-rw-r--r-- | src/pathops/SkDCubicToQuads.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathops/SkDCubicToQuads.cpp b/src/pathops/SkDCubicToQuads.cpp index 705320d208..b2a9b6202c 100644 --- a/src/pathops/SkDCubicToQuads.cpp +++ b/src/pathops/SkDCubicToQuads.cpp @@ -136,11 +136,11 @@ void SkDCubic::toQuadraticTs(double precision, SkTArray<double, true>* ts) const memmove(inflectT, &inflectT[1], sizeof(inflectT[0]) * --inflections); } int start = 0; - int next = 1; + int next = 1; while (next < inflections) { if (!approximately_equal(inflectT[start], inflectT[next])) { ++start; - ++next; + ++next; continue; } memmove(&inflectT[start], &inflectT[next], sizeof(inflectT[0]) * (--inflections - start)); |