aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2003-06-15 20:59:24 +0000
committerStefan Monnier2003-06-15 20:59:24 +0000
commitc61ab2a0061a08b5f4aa38afedfdb771a174a98b (patch)
treeda4d8a51094731b1e0ed56c6d1a27b8c9fa6271b /src
parentaa4ac49462e4187df9324464ff4d7c48ba1ccb3c (diff)
downloademacs-c61ab2a0061a08b5f4aa38afedfdb771a174a98b.tar.gz
emacs-c61ab2a0061a08b5f4aa38afedfdb771a174a98b.zip
(mac_check_for_quit_char): Don't pass uninitialized
data to kbd_buffer_store_event.
Diffstat (limited to 'src')
-rw-r--r--src/macterm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macterm.c b/src/macterm.c
index f087c78870e..d00c1d690ac 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -8594,6 +8594,7 @@ mac_check_for_quit_char ()
8594 struct mac_output *mwp = 8594 struct mac_output *mwp =
8595 (mac_output *) GetWRefCon (FrontNonFloatingWindow ()); 8595 (mac_output *) GetWRefCon (FrontNonFloatingWindow ());
8596 /* Use an input_event to emulate what the interrupt handler does. */ 8596 /* Use an input_event to emulate what the interrupt handler does. */
8597 EVENT_INIT (e);
8597 e.kind = ASCII_KEYSTROKE_EVENT; 8598 e.kind = ASCII_KEYSTROKE_EVENT;
8598 e.code = quit_char; 8599 e.code = quit_char;
8599 e.arg = NULL; 8600 e.arg = NULL;