diff src/macterm.c @ 51570:5bc2bb8c1fef

(mac_check_for_quit_char): Don't pass uninitialized data to kbd_buffer_store_event.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 15 Jun 2003 20:59:24 +0000
parents 73188b413b0f
children 695cf19ef79e
line wrap: on
line diff
--- a/src/macterm.c	Sun Jun 15 20:56:40 2003 +0000
+++ b/src/macterm.c	Sun Jun 15 20:59:24 2003 +0000
@@ -8594,6 +8594,7 @@
       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;