diff options
-rw-r--r-- | utf8.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -23,7 +23,8 @@ * error, but it will always advance at least one byte. */ static void * -utf8_decode(void *buf, uint32_t *c, int *e) { +utf8_decode(void *buf, uint32_t *c, int *e) +{ static const char lengths[] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 3, 3, 4, 0 |