summaryrefslogtreecommitdiffstats
path: root/libs/utils/String8.cpp
diff options
context:
space:
mode:
authorDaisuke Miyakawa <dmiyakawa@google.com>2009-07-09 13:05:24 +0900
committerDaisuke Miyakawa <dmiyakawa@google.com>2009-07-09 13:05:24 +0900
commit3228a1092325177966f58dd763eb3341f14ff7ba (patch)
tree91d0db6b22ac8cfafbc546aefc068db9d0ef485b /libs/utils/String8.cpp
parent9f220247f64d7db8a36532851cff087f5a6e4070 (diff)
downloadframeworks_native-3228a1092325177966f58dd763eb3341f14ff7ba.zip
frameworks_native-3228a1092325177966f58dd763eb3341f14ff7ba.tar.gz
frameworks_native-3228a1092325177966f58dd763eb3341f14ff7ba.tar.bz2
quick fix; utf8_codepoint_count must be utf8_length
Diffstat (limited to 'libs/utils/String8.cpp')
-rw-r--r--libs/utils/String8.cpp2
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;