changeset 69098:53d05914b117

(digest_single_submenu): Apply 2006-02-19 change for xmenu.c.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 22 Feb 2006 07:59:34 +0000
parents 3be1a9b7b2e7
children 9547db029a2a
files src/macmenu.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macmenu.c	Wed Feb 22 07:59:26 2006 +0000
+++ b/src/macmenu.c	Wed Feb 22 07:59:34 2006 +0000
@@ -1257,8 +1257,11 @@
 	      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;
 	}