Fix popContext mContextLength usage.

This commit is contained in:
Mikael Sand
2017-07-22 05:53:03 +03:00
parent ba7d9c6da8
commit 2e0d61bca5
@@ -196,18 +196,18 @@ class GlyphContext {
}
void popContext() {
mContextLength--;
top--;
mNodes.remove(mContextLength);
mFontContext.remove(mContextLength);
mXsIndices.remove(mContextLength);
mYsIndices.remove(mContextLength);
mRsIndices.remove(mContextLength);
mdXsIndices.remove(mContextLength);
mdYsIndices.remove(mContextLength);
mContextLength--;
top--;
mNodes.remove(mContextLength);
mFontContext.remove(mContextLength);
int x = mXsIndex;
int y = mYsIndex;
int r = mRsIndex;