From 0b1e6b549bf36860245f074737c05390c65b45bb Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sun, 6 Jan 2002 23:35:05 +0000 Subject: [PATCH] (single_submenu): Initialize wv->help to Qnil. --- src/ChangeLog | 2 ++ src/xmenu.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index ef7a06de3c9..cb65129f107 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2002-01-06 Jason Rumney + * 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. diff --git a/src/xmenu.c b/src/xmenu.c index 3df3cab9be4..06b0f9f77ea 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -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; -- 2.39.5