From 37798dff871c5c04c25cd379007c6226d8e7c537 Mon Sep 17 00:00:00 2001 From: Christopher Wellons Date: Fri, 6 Oct 2017 17:40:18 -0400 Subject: Fix formatting --- utf8.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utf8.h b/utf8.h index 6e26ebd..419977d 100644 --- a/utf8.h +++ b/utf8.h @@ -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 -- cgit v1.2.3