From c61ab2a0061a08b5f4aa38afedfdb771a174a98b Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 15 Jun 2003 20:59:24 +0000 Subject: [PATCH] (mac_check_for_quit_char): Don't pass uninitialized data to kbd_buffer_store_event. --- src/macterm.c | 1 + 1 file changed, 1 insertion(+) 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 () struct mac_output *mwp = (mac_output *) GetWRefCon (FrontNonFloatingWindow ()); /* Use an input_event to emulate what the interrupt handler does. */ + EVENT_INIT (e); e.kind = ASCII_KEYSTROKE_EVENT; e.code = quit_char; e.arg = NULL; -- 2.39.2