diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-04-29 15:29:52 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-04-29 15:29:52 +0000 |
commit | 6c2721203a305bbcb6b12a64484bbc4edcff57c4 (patch) | |
tree | 9b52889eddc1e37f1a28728a9137f5578b91f106 /src/xmenu.c | |
parent | 6164f4bed6a62fa7b9e67011599c3b8f8d2a6b99 (diff) | |
download | emacs-6c2721203a305bbcb6b12a64484bbc4edcff57c4.tar.gz |
(set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r-- | src/xmenu.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |