summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2011-06-05 03:12:44 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2011-09-29 14:09:40 +1000
commit0b56a7f0ad01d3a86cdd7a14d5e567a00a3553f6 (patch)
tree52706b3b025a58abfe338287006f5f8ab98f3b2f
parent512a9750c197437889ff7f26a8d2bd242e030745 (diff)
xkb: Fix case checks for Latin 2.
Those ones were getting _XkbKSLower for no reasons: XK_ogonek: U+02DB OGONEK XK_doubleacute: U+02DD DOUBLE ACUTE ACCENT Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Cyril Brulebois <kibi@debian.org>
-rw-r--r--xkb/xkbfmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkbfmisc.c b/xkb/xkbfmisc.c
index c36cc7bec..e0426718f 100644
--- a/xkb/xkbfmisc.c
+++ b/xkb/xkbfmisc.c
@@ -71,7 +71,7 @@ unsigned set,rtrn;
((ks>=XK_Racute)&&(ks<=XK_Tcedilla))) {
rtrn|= _XkbKSUpper;
}
- if (((ks>=XK_aogonek)&&(ks<=XK_zabovedot)&&(ks!=XK_caron))||
+ if (((ks>=XK_aogonek)&&(ks<=XK_zabovedot)&&(ks!=XK_ogonek)&&(ks!=XK_caron)&&(ks!=XK_doubleacute))||
((ks>=XK_racute)&&(ks<=XK_tcedilla))) {
rtrn|= _XkbKSLower;
}