summaryrefslogtreecommitdiff
path: root/core/fxge/ge
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-05-09 18:40:03 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-10 17:07:54 +0000
commit6e10d000ce048e67d36358c768c8cdad747eec15 (patch)
tree81d5822c59806aa2bde55965a0542c9a6bc7898f /core/fxge/ge
parent8a6fdadccd2eedf332ae3a72f0149c1b40cb5bd9 (diff)
downloadpdfium-6e10d000ce048e67d36358c768c8cdad747eec15.tar.xz
Fix typos for the word start.
Change-Id: Ic602126dc5407fcbb56dca5ec43e1824a5ca55b6 Reviewed-on: https://pdfium-review.googlesource.com/5251 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge/ge')
-rw-r--r--core/fxge/ge/cfx_pathdata.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxge/ge/cfx_pathdata.cpp b/core/fxge/ge/cfx_pathdata.cpp
index 75e4faf0ef..6fae44acb1 100644
--- a/core/fxge/ge/cfx_pathdata.cpp
+++ b/core/fxge/ge/cfx_pathdata.cpp
@@ -343,14 +343,14 @@ bool CFX_PathData::GetZeroAreaPath(const CFX_Matrix* pMatrix,
}
}
- int stratPoint = 0;
+ int startPoint = 0;
int next = 0;
for (size_t i = 0; i < m_Points.size(); i++) {
FXPT_TYPE point_type = m_Points[i].m_Type;
if (point_type == FXPT_TYPE::MoveTo) {
- stratPoint = i;
+ startPoint = i;
} else if (point_type == FXPT_TYPE::LineTo) {
- next = (i + 1 - stratPoint) % (m_Points.size() - stratPoint) + stratPoint;
+ next = (i + 1 - startPoint) % (m_Points.size() - startPoint) + startPoint;
if (m_Points[next].m_Type != FXPT_TYPE::BezierTo &&
m_Points[next].m_Type != FXPT_TYPE::MoveTo) {
if ((m_Points[i - 1].m_Point.x == m_Points[i].m_Point.x &&