Index: src/pathops/SkOpEdgeBuilder.cpp |
diff --git a/src/pathops/SkOpEdgeBuilder.cpp b/src/pathops/SkOpEdgeBuilder.cpp |
index 803a5f4739e238a5426cc7c4fec513cca1faf879..8503af301d5d2f4ff60aec8e94bd3f1ea566a16e 100644 |
--- a/src/pathops/SkOpEdgeBuilder.cpp |
+++ b/src/pathops/SkOpEdgeBuilder.cpp |
@@ -111,8 +111,8 @@ |
for (int i = 0; i < nQuads; ++i) { |
fPathVerbs.push_back(SkPath::kQuad_Verb); |
} |
- fPathPts.push_back_n(nQuads * 2, &quadPts[1]); |
- curve[0] = pts[2]; |
+ fPathPts.push_back_n(nQuads * 2, quadPts); |
+ curve[0] = quadPts[nQuads * 2 - 1]; |
lastCurve = true; |
} |
continue; |