From: YAMAMOTO Mitsuharu Date: Wed, 22 Feb 2006 07:59:34 +0000 (+0000) Subject: (digest_single_submenu): Apply 2006-02-19 change for xmenu.c. X-Git-Tag: emacs-pretest-22.0.90~3946 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e188aa29a937c53de32fd52c56e6c7fc8ca0c528;p=emacs.git (digest_single_submenu): Apply 2006-02-19 change for xmenu.c. --- diff --git a/src/macmenu.c b/src/macmenu.c index fccbbe6402c..8cce41114de 100644 --- a/src/macmenu.c +++ b/src/macmenu.c @@ -1257,8 +1257,11 @@ digest_single_submenu (start, end, top_level_items) wv->enabled = 1; wv->button_type = BUTTON_TYPE_NONE; wv->help = Qnil; + save_wv = wv; } - save_wv = wv; + else + save_wv = first_wv; + prev_wv = 0; i += MENU_ITEMS_PANE_LENGTH; }