diff options
author | Christopher Wellons <wellons@nullprogram.com> | 2017-10-06 17:40:18 -0400 |
---|---|---|
committer | Christopher Wellons <wellons@nullprogram.com> | 2017-10-06 17:40:18 -0400 |
commit | 37798dff871c5c04c25cd379007c6226d8e7c537 (patch) | |
tree | c8cdfd12de10b7b442efa3cc2d549b416c028755 | |
parent | 49caeee5ab4736f69c339340b889a1f6fb74560d (diff) |
Fix formatting
-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 |