(single_submenu): Initialize wv->help to Qnil.

This commit is contained in:
Jason Rumney 2002-01-06 23:35:05 +00:00
parent 7f2cddf33b
commit 0b1e6b549b
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2002-01-06 Jason Rumney <jasonr@gnu.org>
* xmenu.c (single_submenu): Initialize wv->help to Qnil.
* w32menu.c (w32_menu_display_help): Revert last change.
* xmenu.c (menu_highlight_callback): Revert last change.

View file

@ -1404,6 +1404,7 @@ single_submenu (item_key, item_name, maps)
wv->value = 0;
wv->enabled = 1;
wv->button_type = BUTTON_TYPE_NONE;
wv->help = Qnil;
first_wv = wv;
save_wv = 0;
prev_wv = 0;
@ -1476,6 +1477,7 @@ single_submenu (item_key, item_name, maps)
wv->value = 0;
wv->enabled = 1;
wv->button_type = BUTTON_TYPE_NONE;
wv->help = Qnil;
}
save_wv = wv;
prev_wv = 0;