changeset 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 e7bd8581e306
children 904f120f283f
files src/macterm.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;