Mercurial > emacs
comparison src/xmenu.c @ 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 | e518bae63784 |
children | 695cf19ef79e |
comparison
equal
deleted
inserted
replaced
51574:188c4e671116 | 51575:45724e359a61 |
---|---|
1417 if ((int) (EMACS_INT) client_data == i) | 1417 if ((int) (EMACS_INT) client_data == i) |
1418 { | 1418 { |
1419 int j; | 1419 int j; |
1420 struct input_event buf; | 1420 struct input_event buf; |
1421 Lisp_Object frame; | 1421 Lisp_Object frame; |
1422 EVENT_INIT (buf); | |
1422 | 1423 |
1423 XSETFRAME (frame, f); | 1424 XSETFRAME (frame, f); |
1424 buf.kind = MENU_BAR_EVENT; | 1425 buf.kind = MENU_BAR_EVENT; |
1425 buf.frame_or_window = frame; | 1426 buf.frame_or_window = frame; |
1426 buf.arg = frame; | 1427 buf.arg = frame; |