From 56d6326a0ef3a98dbdac5de540aebf569c0bca34 Mon Sep 17 00:00:00 2001 From: Daisuke Miyakawa Date: Thu, 9 Jul 2009 13:05:24 +0900 Subject: [PATCH] quick fix; utf8_codepoint_count must be utf8_length --- libs/utils/String8.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/utils/String8.cpp b/libs/utils/String8.cpp index 71bf3ce7e..e908ec1e8 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;