diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2023-05-01 07:41:19 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2023-05-01 07:41:19 +0000 |
commit | 1bf67d07bd27db8be1a8227902cf1cd497dde6e2 (patch) | |
tree | fccd421189958ad207e156f236677682c5c96184 /xserver/xkb | |
parent | b6fb6c37ff0e39007f5fa5f4bc6a89435a2041d0 (diff) |
Merge X server 21.1.8. tested by kn@ and op@.
Diffstat (limited to 'xserver/xkb')
-rw-r--r-- | xserver/xkb/xkbUtils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xserver/xkb/xkbUtils.c b/xserver/xkb/xkbUtils.c index 9bc51fc71..ab0ad7e7d 100644 --- a/xserver/xkb/xkbUtils.c +++ b/xserver/xkb/xkbUtils.c @@ -902,9 +902,9 @@ XkbConvertCase(register KeySym sym, KeySym * lower, KeySym * upper) break; case 6: /* Cyrillic */ /* Assume the KeySym is a legal value (ignore discontinuities) */ - if (sym >= XK_Serbian_DJE && sym <= XK_Serbian_DZE) + if (sym >= XK_Serbian_DJE && sym <= XK_Cyrillic_DZHE) *lower -= (XK_Serbian_DJE - XK_Serbian_dje); - else if (sym >= XK_Serbian_dje && sym <= XK_Serbian_dze) + else if (sym >= XK_Serbian_dje && sym <= XK_Cyrillic_dzhe) *upper += (XK_Serbian_DJE - XK_Serbian_dje); else if (sym >= XK_Cyrillic_YU && sym <= XK_Cyrillic_HARDSIGN) *lower -= (XK_Cyrillic_YU - XK_Cyrillic_yu); |