]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_key_sequence): Fix confusion between key and new_key.
authorRichard M. Stallman <rms@gnu.org>
Fri, 19 Apr 1996 09:21:55 +0000 (09:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 19 Apr 1996 09:21:55 +0000 (09:21 +0000)
src/keyboard.c

index 4b33bdf290bf5ae343372c26efc9edaef3aa5a54..2756687154b21457627c9e93ca32fdf8e8d1e7a2 100644 (file)
@@ -6573,7 +6573,7 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
          original_uppercase = key;
          original_uppercase_position = t - 1;
 
-         if (XINT (new_key) & shift_modifier)
+         if (XINT (key) & shift_modifier)
            XSETINT (new_key, XINT (key) & ~shift_modifier);
          else
            XSETINT (new_key, (DOWNCASE (XINT (key) & 0x3ffff)