From: Richard M. Stallman Date: Mon, 29 Apr 1996 15:29:52 +0000 (+0000) Subject: (set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item. X-Git-Tag: emacs-19.34~754 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f04366cb45618334d183b74f92fb28bd1dff79d4;p=emacs.git (set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item. --- diff --git a/src/xmenu.c b/src/xmenu.c index 9e85afdfcda..ef2bbd792ac 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -1643,7 +1643,7 @@ set_frame_menubar (f, first_time, deep_p) menu_items = f->menu_bar_vector; menu_items_allocated = XVECTOR (menu_items)->size; init_menu_items (); - for (i = 0; i < XVECTOR (items)->size; i += 3) + for (i = 0; i < XVECTOR (items)->size; i += 4) { Lisp_Object key, string, maps; @@ -1686,7 +1686,7 @@ set_frame_menubar (f, first_time, deep_p) /* Now GC cannot happen during the lifetime of the widget_value, so it's safe to store data from a Lisp_String. */ wv = first_wv->contents; - for (i = 0; i < XVECTOR (items)->size; i += 3) + for (i = 0; i < XVECTOR (items)->size; i += 4) { Lisp_Object string; string = XVECTOR (items)->contents[i + 1]; @@ -1706,7 +1706,7 @@ set_frame_menubar (f, first_time, deep_p) just the top level menu bar strings. */ items = FRAME_MENU_BAR_ITEMS (f); - for (i = 0; i < XVECTOR (items)->size; i += 3) + for (i = 0; i < XVECTOR (items)->size; i += 4) { Lisp_Object string;