From 05b662ffd1b2b834ba6810b835cc15c4f7381801 Mon Sep 17 00:00:00 2001 From: Robert Spalek Date: Fri, 20 Aug 2004 12:38:28 +0000 Subject: [PATCH] a really essential bugfix --- lib/unicode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/unicode.h b/lib/unicode.h index c957c797..40e8ae09 100644 --- a/lib/unicode.h +++ b/lib/unicode.h @@ -71,6 +71,7 @@ put1: *p++ = 0x80 | (u & 0x3f); } else ASSERT(0); + return p; } #define UTF8_GET_NEXT if (unlikely((*p & 0xc0) != 0x80)) goto bad; u = (u << 6) | (*p++ & 0x3f) -- 2.39.2