summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2011-06-05 03:03:47 +0200
committerCyril Brulebois <kibi@debian.org>2011-06-06 16:25:33 +0200
commit2b88189863579eb377bca617465bb76b05fbdebd (patch)
treeb5a5d5b34b19900938e9b9869a0a8a140741d9aa /xkb
parentfeab04397de2684568dedaaaa8f299cac9f44f8b (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>
Diffstat (limited to 'xkb')
-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;