Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c916e061 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am fe811d8b: Merge change 6603 into donut

Merge commit 'fe811d8b'

* commit 'fe811d8b':
  quick fix; utf8_codepoint_count must be utf8_length
parents e2bf80fb fe811d8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;