From ba56b5fa8344847077b49268d2ab215f3e73d10e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 4 May 2024 01:50:09 +0200 Subject: Add tests for u8title() and fix ‘ς’ bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/unicode/string/u8title.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/unicode/string/u8title.c b/lib/unicode/string/u8title.c index 4545fda..01e9d2e 100644 --- a/lib/unicode/string/u8title.c +++ b/lib/unicode/string/u8title.c @@ -68,7 +68,7 @@ u8title(char8_t *restrict dst, size_t dstn, const char8_t *src, size_t srcn, } if (final_sigma.after == 0) { - rune ch; + rune ch = 0; struct u8view cpy = {src, srcn}; do -- cgit v1.2.3