summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2011-06-05 03:03:47 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2011-09-29 14:09:40 +1000
commit512a9750c197437889ff7f26a8d2bd242e030745 (patch)
treeae99776fb78dc31e33ed47c1aa1949f038a5c649
parentbf9fd0a83eef771ee018438f05e2d9f20b43539b (diff)
xkb: Fix case checks for Latin 1.
That one was missing _XkbKSLower: XK_ssharp: U+00DF LATIN SMALL LETTER SHARP S That one was getting _XkbKSLower for no reasons: XK_division: U+00F7 DIVISION SIGN For reference, XK_multiply was already excluded from the _XkbKSUpper check, it's no big surprise XK_division has to be excluded from the _XkbKSLower check. 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 1ac9d8262..c36cc7bec 100644
--- a/xkb/xkbfmisc.c
+++ b/xkb/xkbfmisc.c
@@ -62,7 +62,7 @@ unsigned set,rtrn;
rtrn|= _XkbKSUpper;
}
if (((ks>=XK_a)&&(ks<=XK_z))||
- ((ks>=XK_agrave)&&(ks<=XK_ydiaeresis))) {
+ ((ks>=XK_ssharp)&&(ks<=XK_ydiaeresis)&&(ks!=XK_division))) {
rtrn|= _XkbKSLower;
}
break;