diff options
author | Daisuke Miyakawa <dmiyakawa@google.com> | 2009-07-09 13:05:24 +0900 |
---|---|---|
committer | Daisuke Miyakawa <dmiyakawa@google.com> | 2009-07-09 13:05:24 +0900 |
commit | 361d477957feb07454b93509da0bfd05e9c718a8 (patch) | |
tree | cec212a66a309ea588bd16f37bdb84ebf19150b7 /libs | |
parent | f05b33b3a1cff40972a735ff1fb4ed6e8bfeaf2a (diff) | |
download | frameworks_base-361d477957feb07454b93509da0bfd05e9c718a8.zip frameworks_base-361d477957feb07454b93509da0bfd05e9c718a8.tar.gz frameworks_base-361d477957feb07454b93509da0bfd05e9c718a8.tar.bz2 |
quick fix; utf8_codepoint_count must be utf8_length
Diffstat (limited to 'libs')
-rw-r--r-- | libs/utils/String8.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/utils/String8.cpp b/libs/utils/String8.cpp index 71bf3ce..e908ec1 100644 --- a/libs/utils/String8.cpp +++ b/libs/utils/String8.cpp @@ -681,7 +681,7 @@ size_t strnlen32(const char32_t *s, size_t maxlen) return ss-s; } -size_t utf8_codepoint_count(const char *src) +size_t utf8_length(const char *src) { const char *cur = src; size_t ret = 0; |