From 831f35a2007fe1dbf6d77c590374f370e6cafc74 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 19 Apr 1996 09:21:55 +0000 Subject: [PATCH] (read_key_sequence): Fix confusion between key and new_key. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 4b33bdf290b..2756687154b 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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) -- 2.39.2