Index: src/pathops/SkPathOpsTSect.h |
diff --git a/src/pathops/SkPathOpsTSect.h b/src/pathops/SkPathOpsTSect.h |
index 01ab8c65904b9098c613bce41afbcca9fc90766a..cf63b334d54108033694924bdf8d6f90778b62a4 100644 |
--- a/src/pathops/SkPathOpsTSect.h |
+++ b/src/pathops/SkPathOpsTSect.h |
@@ -512,7 +512,7 @@ int SkTSpan<TCurve, OppCurve>::hullCheck(const SkTSpan<OppCurve, TCurve>* opp, |
} |
fIsLinear = true; |
fIsLine = fPart.controlsInside(); |
- return ptsInCommon ? 2 : -1; |
+ return ptsInCommon ? 1 : -1; |
} else { // hull is not linear; check set true if intersected at the end points |
return ((int) ptsInCommon) << 1; // 0 or 2 |
} |