diff options
author | Benno Schulenberg <bensberg@telfort.nl> | 2023-03-27 20:03:56 +0200 |
---|---|---|
committer | Benno Schulenberg <bensberg@telfort.nl> | 2023-03-27 20:11:55 +0200 |
commit | 6153c71cfb4698f1a416266564ecc748e4a25f2c (patch) | |
tree | db1d612edf14c4c488aabf7978c5e4fbc2fbe927 | |
parent | 754d6b6dd0a9ec42d75247596a8885bf54352ee7 (diff) | |
download | xserver-6153c71cfb4698f1a416266564ecc748e4a25f2c.tar.gz |
xkbUtils: use existing symbol names instead of deleted deprecated ones
Symbols `XK_Cyrillic_DZHE` and `XK_Serbian_DZE` were pure synonyms.
-rw-r--r-- | xkb/xkbUtils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xkb/xkbUtils.c b/xkb/xkbUtils.c index 3f5791a18..df2a584bd 100644 --- a/xkb/xkbUtils.c +++ b/xkb/xkbUtils.c @@ -901,9 +901,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); |