diff options
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; } |