diff options
Diffstat (limited to 'native/src/dictionary.cpp')
-rw-r--r-- | native/src/dictionary.cpp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/native/src/dictionary.cpp b/native/src/dictionary.cpp index 6e6f44182..e75beb5b7 100644 --- a/native/src/dictionary.cpp +++ b/native/src/dictionary.cpp @@ -19,19 +19,12 @@ #include <fcntl.h> #include <sys/mman.h> #include <string.h> -#include <cutils/log.h> - -#include <unicode/uchar.h> - -//#define USE_ASSET_MANAGER - -#ifdef USE_ASSET_MANAGER -#include <utils/AssetManager.h> -#include <utils/Asset.h> -#endif +//#include <cutils/log.h> +#define LOGI #include "dictionary.h" #include "basechars.h" +#include "char_utils.h" #define DEBUG_DICT 0 @@ -176,7 +169,7 @@ Dictionary::toLowerCase(unsigned short c) { if (c >='A' && c <= 'Z') { c |= 32; } else if (c > 127) { - c = u_tolower(c); + c = latin_tolower(c); } return c; } |