diff options
author | Benno Schulenberg <bensberg@telfort.nl> | 2023-03-27 20:03:56 +0200 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2023-03-29 10:14:00 +0200 |
commit | 6bed5cfd515b9634ecf73fb884e4ec3388e8b7eb (patch) | |
tree | 3362e7093b424ce09723609b3f39c873cee7203f | |
parent | af9111ac7fa399a5a33fbfa145060e1850f41e0e (diff) |
xkbUtils: use existing symbol names instead of deleted deprecated ones
Symbols `XK_Cyrillic_DZHE` and `XK_Serbian_DZE` were pure synonyms.
(cherry picked from commit 6153c71cfb4698f1a416266564ecc748e4a25f2c)
-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 9bc51fc71..ab0ad7e7d 100644 --- a/xkb/xkbUtils.c +++ b/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); |