From fddce452aef5c7371e138efedfbc1a460aa70f23 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 27 Apr 2024 21:07:30 +0200 Subject: Fix broken things (_Generic() sucks ass) --- man/u8len.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man') diff --git a/man/u8len.3 b/man/u8len.3 index 75dc668..f4d152f 100644 --- a/man/u8len.3 +++ b/man/u8len.3 @@ -34,7 +34,7 @@ will return 17 while the call to will return 22 as a result of use of multibyte-characters in .Fa s . .Bd -literal -offset indent -struct u8view sv = U8(\(dq„Der Große Duden“\(dq); +struct u8view sv = U8(u8\(dq„Der Große Duden“\(dq); size_t blen = strlen((char *)sv.p); size_t cplen = u8len(U8_ARGS(sv)); .Ed -- cgit v1.2.3