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
commit7fa60a9dff18807c26ffcf5cf1f8ed2fce6f3250 (patch)
treebe71e33905669293a6ea70ed233d4c3eb8c298be /src/keyboard.c
parentbe10ec477886793fdb3468404adf51dd8b606cc1 (diff)
downloademacs-7fa60a9dff18807c26ffcf5cf1f8ed2fce6f3250.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