diff options
author | 2011-08-12 01:05:27 +0900 | |
---|---|---|
committer | 2011-08-15 17:13:39 +0900 | |
commit | 0cedd2bcc3efcec30ea542ceb8d9161afa764a62 (patch) | |
tree | 1ed4aae5072e65481e99a85e5767b0493ef40b26 /native/src/correction_state.h | |
parent | 88b22e255291c708005f2fce70310a7a4b036bcb (diff) | |
download | latinime-0cedd2bcc3efcec30ea542ceb8d9161afa764a62.tar.gz latinime-0cedd2bcc3efcec30ea542ceb8d9161afa764a62.tar.xz latinime-0cedd2bcc3efcec30ea542ceb8d9161afa764a62.zip |
Combilne normal correction and skip correction
Change-Id: Ide868d977c0f35900340c7be1b71d572c69a8806
Diffstat (limited to 'native/src/correction_state.h')
-rw-r--r-- | native/src/correction_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/native/src/correction_state.h b/native/src/correction_state.h index d30d13c85..267deda9b 100644 --- a/native/src/correction_state.h +++ b/native/src/correction_state.h @@ -33,6 +33,7 @@ struct CorrectionState { int8_t mSkipPos; // should be signed bool mMatching; bool mSkipping; + bool mProximityMatching; bool mNeedsToTraverseAllNodes; }; @@ -47,6 +48,7 @@ inline static void initCorrectionState(CorrectionState *state, const int rootPos state->mSkippedCount = 0; state->mMatching = false; state->mSkipping = false; + state->mProximityMatching = false; state->mNeedsToTraverseAllNodes = traverseAll; state->mSkipPos = -1; } |