diff options
Diffstat (limited to 'py/unicode.c')
-rw-r--r-- | py/unicode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/py/unicode.c b/py/unicode.c index a83e3ac06a..db4aa438ac 100644 --- a/py/unicode.c +++ b/py/unicode.c @@ -107,8 +107,7 @@ mp_uint_t utf8_ptr_to_index(const byte *s, const byte *ptr) { } // TODO: Rename to str_charlen -mp_uint_t unichar_charlen(const char *str, mp_uint_t len) -{ +mp_uint_t unichar_charlen(const char *str, mp_uint_t len) { #if MICROPY_PY_BUILTINS_STR_UNICODE mp_uint_t charlen = 0; for (const char *top = str + len; str < top; ++str) { |