summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2008-03-16 11:24:35 +0000
committerAndreas Schwab <schwab@suse.de>2008-03-16 11:24:35 +0000
commita864f6d690ff51e210ac11cd2e487ebba7dbb1c4 (patch)
treeb4360bb2fc3cf773ddd251822ac7bedf481ac586 /src/keyboard.c
parentf50201817b3729dda94ce7bd0f7e2cb5371d0340 (diff)
downloademacs-a864f6d690ff51e210ac11cd2e487ebba7dbb1c4.tar.gz
(read_key_sequence): Fix downcasing of letters with
modifiers.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 2acf6aaa3cc..16b9006b15f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -10105,7 +10105,7 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
XSETINT (new_key, XINT (key) & ~shift_modifier);
else
XSETINT (new_key, (DOWNCASE (XINT (key) & ~CHAR_MODIFIER_MASK)
- | (XINT (key) & ~CHAR_MODIFIER_MASK)));
+ | (XINT (key) & CHAR_MODIFIER_MASK)));
/* We have to do this unconditionally, regardless of whether
the lower-case char is defined in the keymaps, because they