diff options
-rw-r--r-- | utf8.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ utf8_decode(void *buf, long *c, int *e) { *e ^= 0x2aU; // top two bits of each tail byte correct? *e >>= shifte[len]; - return s + len; + return s + len + !len; } #endif |