quick fix; utf8_codepoint_count must be utf8_length
This commit is contained in:
parent
44dad3e006
commit
56d6326a0e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue