aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/prop/uprop_get_uc.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-14 23:03:25 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-14 23:03:25 +0200
commitfa481efe8e777bae2c2cca3649176d1ac7da6413 (patch)
tree40a32e492594310b490ed1f301817b72f982d617 /lib/unicode/prop/uprop_get_uc.c
parent5984a3211cc8a214305b9acbff07b3f3b78cac09 (diff)
Reorganize some things
Diffstat (limited to 'lib/unicode/prop/uprop_get_uc.c')
-rw-r--r--lib/unicode/prop/uprop_get_uc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/unicode/prop/uprop_get_uc.c b/lib/unicode/prop/uprop_get_uc.c
index d3ab274..69435b8 100644
--- a/lib/unicode/prop/uprop_get_uc.c
+++ b/lib/unicode/prop/uprop_get_uc.c
@@ -120,10 +120,10 @@ struct rview
uprop_get_uc(rune ch, struct ucctx ctx)
{
if (ch == U'ß')
- return ctx.cap_eszett ? M(U'ẞ') : M('S', 'S');
+ return ctx.ẞ ? M(U'ẞ') : M('S', 'S');
if (ch == 'i' && ctx.az_or_tr)
return M(U'İ');
- if (ch == 0x307 && ctx.lt_after_i)
+ if (ch == 0x307 && ctx.lt && ctx.after_i)
return M();
rune CH = uprop_get_suc(ch);