From 57ef1664fefd5e4ffbc161205a0b97147eb159f0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 26 Apr 1993 05:15:13 +0000 Subject: [PATCH] (read_pending_input): Fix the garbaged-modifiers bug under System Vs previous to r4. --- src/sysdep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sysdep.c b/src/sysdep.c index 45226ed6159..7781e6264b5 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -1786,6 +1786,7 @@ read_input_waiting () /* Scan the chars for C-g and store them in kbd_buffer. */ e.kind = ascii_keystroke; e.frame_or_window = selected_frame; + e.modifiers = 0; for (i = 0; i < nread; i++) { XSET (e.code, Lisp_Int, buf[i]);