changeset 93007:37e19c40840b

(read_key_sequence): Fix downcasing of letters with modifiers.
author Andreas Schwab <schwab@suse.de>
date Sun, 16 Mar 2008 11:24:35 +0000
parents 72213c342fe7
children d90ba9c4c093
files src/ChangeLog src/keyboard.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Mar 16 10:45:53 2008 +0000
+++ b/src/ChangeLog	Sun Mar 16 11:24:35 2008 +0000
@@ -1,5 +1,8 @@
 2008-03-16  Andreas Schwab  <schwab@suse.de>
 
+	* keyboard.c (read_key_sequence): Fix downcasing of letters with
+	modifiers.
+
 	* regex.c (re_match_2_internal): Correct matching of a charset
 	against latin-1 characters.
 
--- a/src/keyboard.c	Sun Mar 16 10:45:53 2008 +0000
+++ b/src/keyboard.c	Sun Mar 16 11:24:35 2008 +0000
@@ -10105,7 +10105,7 @@
 	    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