]> git.eshelyaron.com Git - emacs.git/commitdiff
(mac_check_for_quit_char): Don't pass uninitialized
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 15 Jun 2003 20:59:24 +0000 (20:59 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 15 Jun 2003 20:59:24 +0000 (20:59 +0000)
data to kbd_buffer_store_event.

src/macterm.c

index f087c78870e8e3ee8cf387a522383ba5d62a2e4e..d00c1d690ac305f008c3599ec336e68a09c35537 100644 (file)
@@ -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;