changeset 51575:45724e359a61

(find_and_call_menu_selection): Don't pass uninitialized data to kbd_buffer_store_event.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 15 Jun 2003 21:18:03 +0000
parents 188c4e671116
children df2c9d815bb3
files src/xmenu.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Sun Jun 15 21:16:11 2003 +0000
+++ b/src/xmenu.c	Sun Jun 15 21:18:03 2003 +0000
@@ -1419,6 +1419,7 @@
 	      int j;
 	      struct input_event buf;
 	      Lisp_Object frame;
+	      EVENT_INIT (buf);
 
 	      XSETFRAME (frame, f);
 	      buf.kind = MENU_BAR_EVENT;