aboutsummaryrefslogtreecommitdiff
path: root/py/unicode.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-04-09 15:29:54 +0000
committerDamien George <damien.p.george@gmail.com>2015-04-09 15:29:54 +0000
commit4dea922610c8ea6af285cd49b0a531d4941d820f (patch)
tree9d10a279f23eb71d9ba9cd13e6da69b1ee77d03d /py/unicode.c
parentdf1637c580457234d805154efea1c51a83b1136a (diff)
py: Adjust some spaces in code style/format, purely for consistency.
Diffstat (limited to 'py/unicode.c')
-rw-r--r--py/unicode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/py/unicode.c b/py/unicode.c
index a83e3ac06..db4aa438a 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) {