aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/correction_state.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-08-11 21:25:39 +0900
committersatok <satok@google.com>2011-08-11 23:01:54 +0900
commit466ed22fc6f90c47bc1571b51fda2712ade664f6 (patch)
tree313f02a0d0e92c96e6928183ca52fb4acf6e140b /native/src/correction_state.h
parentc122cfc8fd9e14d8b6e193770b33cf669ff6239c (diff)
downloadlatinime-466ed22fc6f90c47bc1571b51fda2712ade664f6.tar.gz
latinime-466ed22fc6f90c47bc1571b51fda2712ade664f6.tar.xz
latinime-466ed22fc6f90c47bc1571b51fda2712ade664f6.zip
Removed matchedChar count
Change-Id: I69e92026f802635f900b1e72d089afe4bda5fb0b
Diffstat (limited to 'native/src/correction_state.h')
-rw-r--r--native/src/correction_state.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/native/src/correction_state.h b/native/src/correction_state.h
index 3ff8134e6..d30d13c85 100644
--- a/native/src/correction_state.h
+++ b/native/src/correction_state.h
@@ -28,8 +28,7 @@ struct CorrectionState {
int mSiblingPos;
uint16_t mChildCount;
uint8_t mInputIndex;
- uint8_t mDiffs;
- uint8_t mMatchedCount;
+ uint8_t mProximityCount;
uint8_t mSkippedCount;
int8_t mSkipPos; // should be signed
bool mMatching;
@@ -43,9 +42,8 @@ inline static void initCorrectionState(CorrectionState *state, const int rootPos
state->mParentIndex = -1;
state->mChildCount = childCount;
state->mInputIndex = 0;
- state->mDiffs = 0;
+ state->mProximityCount = 0;
state->mSiblingPos = rootPos;
- state->mMatchedCount = 0;
state->mSkippedCount = 0;
state->mMatching = false;
state->mSkipping = false;