diff options
author | 2014-05-12 19:38:26 +0900 | |
---|---|---|
committer | 2014-05-12 19:38:26 +0900 | |
commit | 79ba633402ceeebe216055cbd99a9e9701460f4a (patch) | |
tree | 017d7ed341fba7d357b8490e2f3f8cf57c8e3cd2 /native/jni/src/utils/char_utils.cpp | |
parent | 4162cfdc59c575cf8ef70b71791283c1ae2f73d4 (diff) | |
download | latinime-79ba633402ceeebe216055cbd99a9e9701460f4a.tar.gz latinime-79ba633402ceeebe216055cbd99a9e9701460f4a.tar.xz latinime-79ba633402ceeebe216055cbd99a9e9701460f4a.zip |
Skip PtNodes with non-Unicode code points for suggestion.
Bug: 14119293
Change-Id: Id1d3b789b5f18757070878dba35a7980bfb44591
Diffstat (limited to 'native/jni/src/utils/char_utils.cpp')
-rw-r--r-- | native/jni/src/utils/char_utils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/native/jni/src/utils/char_utils.cpp b/native/jni/src/utils/char_utils.cpp index adc474b4c..b17e0847d 100644 --- a/native/jni/src/utils/char_utils.cpp +++ b/native/jni/src/utils/char_utils.cpp @@ -22,6 +22,9 @@ namespace latinime { +const int CharUtils::MIN_UNICODE_CODE_POINT = 0; +const int CharUtils::MAX_UNICODE_CODE_POINT = 0x10FFFF; + struct LatinCapitalSmallPair { unsigned short capital; unsigned short small; |