aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/correction.cpp
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2013-05-31 04:43:34 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-31 04:43:34 -0700
commitf80e2abb0cdfceba3f30c08559c7ffcebb153797 (patch)
tree18b191bcbcbd2c5e5010bdccf97b2c126d6a3b3d /native/jni/src/correction.cpp
parentf6a4670d1c82111e825fb59f8afdbb4ca4d6719b (diff)
parent1dae936f23026d3eeec1f4511303104128d5da5f (diff)
downloadlatinime-f80e2abb0cdfceba3f30c08559c7ffcebb153797.tar.gz
latinime-f80e2abb0cdfceba3f30c08559c7ffcebb153797.tar.xz
latinime-f80e2abb0cdfceba3f30c08559c7ffcebb153797.zip
am 1dae936f: Merge "Move char_utils to the dictionary directory"
* commit '1dae936f23026d3eeec1f4511303104128d5da5f': Move char_utils to the dictionary directory
Diffstat (limited to 'native/jni/src/correction.cpp')
-rw-r--r--native/jni/src/correction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/jni/src/correction.cpp b/native/jni/src/correction.cpp
index e2ad557c5..3dc2f3748 100644
--- a/native/jni/src/correction.cpp
+++ b/native/jni/src/correction.cpp
@@ -18,9 +18,9 @@
#include <cmath>
-#include "char_utils.h"
#include "correction.h"
#include "defines.h"
+#include "suggest/core/dictionary/char_utils.h"
#include "suggest/core/layout/proximity_info_state.h"
#include "suggest/core/layout/touch_position_correction_utils.h"
#include "suggest/policyimpl/utils/edit_distance.h"
@@ -528,7 +528,7 @@ inline static int getQuoteCount(const int *word, const int length) {
}
inline static bool isUpperCase(unsigned short c) {
- return isAsciiUpper(toBaseCodePoint(c));
+ return CharUtils::isAsciiUpper(CharUtils::toBaseCodePoint(c));
}
//////////////////////