aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-05-04 01:50:09 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-05-04 01:50:09 +0200
commitba56b5fa8344847077b49268d2ab215f3e73d10e (patch)
treeffcb52ba22c5f1d154d76184c542b3e13971153f /lib
parentcc49c8c0f7791c38f578a1698f3e7a6cc4ed630e (diff)
Add tests for u8title() and fix ‘ς’ bug
Diffstat (limited to 'lib')
-rw-r--r--lib/unicode/string/u8title.c2
1 files changed, 1 insertions, 1 deletions
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