From 38f7dce375da5ab3a9172185dc6fc5e54ecaf863 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 15 Jun 2003 21:18:03 +0000 Subject: [PATCH] (find_and_call_menu_selection): Don't pass uninitialized data to kbd_buffer_store_event. --- src/xmenu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xmenu.c b/src/xmenu.c index dd4880aaa4c..01f4c56acf1 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -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; -- 2.39.2