Commit 831f35a2 authored by Richard M. Stallman's avatar Richard M. Stallman

(read_key_sequence): Fix confusion between key and new_key.

parent b2b9ff5e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment