diff options
author | 2012-09-14 02:25:05 -0700 | |
---|---|---|
committer | 2012-09-14 02:25:05 -0700 | |
commit | 5d1c5f9653c68480d2f9b7ce4b4f3451148a6205 (patch) | |
tree | 393f96925d7f7b6b2c485964c96671a56c014148 /native/jni/src/correction.cpp | |
parent | e5db4c815d49ad2f99580be9fa9a9599feb8ac8e (diff) | |
parent | 47684fb60d6a1812f02836032a71130b7272e746 (diff) | |
download | latinime-5d1c5f9653c68480d2f9b7ce4b4f3451148a6205.tar.gz latinime-5d1c5f9653c68480d2f9b7ce4b4f3451148a6205.tar.xz latinime-5d1c5f9653c68480d2f9b7ce4b4f3451148a6205.zip |
am 47684fb6: Merge "Using isSkippableChar instead of \'\'\' and \'-\'." into jb-mr1-dev
* commit '47684fb60d6a1812f02836032a71130b7272e746':
Using isSkippableChar instead of '\'' and '-'.
Diffstat (limited to 'native/jni/src/correction.cpp')
-rw-r--r-- | native/jni/src/correction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/jni/src/correction.cpp b/native/jni/src/correction.cpp index 15a713122..49e3e3c8c 100644 --- a/native/jni/src/correction.cpp +++ b/native/jni/src/correction.cpp @@ -631,7 +631,7 @@ Correction::CorrectionType Correction::processCharAndCalcState( inline static int getQuoteCount(const unsigned short *word, const int length) { int quoteCount = 0; for (int i = 0; i < length; ++i) { - if (word[i] == '\'') { + if (word[i] == SINGLE_QUOTE) { ++quoteCount; } } |