# HG changeset patch # User Eric S. Raymond # Date 735801313 0 # Node ID 5f41134610a615e4766df017cde959541577bfe4 # Parent b0a1846fe3b8f3e40e34125d19c67f74690753a3 (read_pending_input): Fix the garbaged-modifiers bug under System Vs previous to r4. diff -r b0a1846fe3b8 -r 5f41134610a6 src/sysdep.c --- a/src/sysdep.c Mon Apr 26 05:15:08 1993 +0000 +++ b/src/sysdep.c Mon Apr 26 05:15:13 1993 +0000 @@ -1786,6 +1786,7 @@ /* 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]);