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

src/xmenu.c

index dd4880aaa4ce7cd903ff002d3f35e975f004068b..01f4c56acf1a338b9eaebe8eb3f839ae50ca89f7 100644 (file)
@@ -1419,6 +1419,7 @@ find_and_call_menu_selection (f, menu_bar_items_used, vector, client_data)
              int j;
              struct input_event buf;
              Lisp_Object frame;
+             EVENT_INIT (buf);
 
              XSETFRAME (frame, f);
              buf.kind = MENU_BAR_EVENT;