libgrapheme

Freestanding C library for unicode string handling
git clone https://git.sinitax.com/suckless/libgrapheme
Log | Files | Refs | README | LICENSE | sfeed.txt

commit bc1dc28c09ce845291c51041b45594fef78e4eb4
parent 5dec22a7143e1105f25c7a7626fa166d882367d0
Author: Laslo Hunhold <dev@frign.de>
Date:   Sat, 24 Sep 2022 10:37:21 +0200

Clarify a comment in gen/case.c

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
Mgen/case.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gen/case.c b/gen/case.c @@ -166,7 +166,8 @@ specialcasing_callback(const char *file, char **field, size_t nfields, /* * overwrite value in "single mapping" property table by the - * special value 0x110000 + (offset in special case array) + * special value 0x110000 + (offset in special case array), + * even if the special case has length 1 */ prop_upper[cp].property = (int_least64_t)(UINT32_C(0x110000) + (sclen - 1)); prop_lower[cp].property = (int_least64_t)(UINT32_C(0x110000) + (sclen - 1));