OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f22024
)
quick fix; utf8_codepoint_count must be utf8_length
author
Daisuke Miyakawa
<dmiyakawa@google.com>
Thu, 9 Jul 2009 04:05:24 +0000
(13:05 +0900)
committer
Daisuke Miyakawa
<dmiyakawa@google.com>
Thu, 9 Jul 2009 04:05:24 +0000
(13:05 +0900)
libs/utils/String8.cpp
patch
|
blob
|
history
diff --git
a/libs/utils/String8.cpp
b/libs/utils/String8.cpp
index
71bf3ce
..
e908ec1
100644
(file)
--- 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;