diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-14 23:03:25 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-14 23:03:25 +0200 |
commit | fa481efe8e777bae2c2cca3649176d1ac7da6413 (patch) | |
tree | 40a32e492594310b490ed1f301817b72f982d617 /lib/unicode/prop/uprop_get_uc.c | |
parent | 5984a3211cc8a214305b9acbff07b3f3b78cac09 (diff) |
Reorganize some things
Diffstat (limited to 'lib/unicode/prop/uprop_get_uc.c')
-rw-r--r-- | lib/unicode/prop/uprop_get_uc.c | 4 |
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); |