summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>1993-04-26 05:15:13 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>1993-04-26 05:15:13 +0000
commit57ef1664fefd5e4ffbc161205a0b97147eb159f0 (patch)
treef06d422de896cc44597757aba7709b2a722eec67 /src/sysdep.c
parent8241d7b92d1f8fc76fc2abedbec042c564da250a (diff)
downloademacs-57ef1664fefd5e4ffbc161205a0b97147eb159f0.tar.gz
(read_pending_input): Fix the garbaged-modifiers bug under System Vs previous
to r4.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c1
1 files changed, 1 insertions, 0 deletions
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]);