From d2ff1bf379d0714d817529a77b03f0e4ec9e2609 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 29 Apr 1996 15:56:24 +0000 Subject: [PATCH] (get_frame_menubar_event, set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item. --- src/w32menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/w32menu.c b/src/w32menu.c index 81d90248178..3e63fd9acde 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -1354,7 +1354,7 @@ get_frame_menubar_event (f, num) if (NILP (items = FRAME_MENU_BAR_ITEMS (f))) items = FRAME_MENU_BAR_ITEMS (f) = menu_bar_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 event; @@ -1398,7 +1398,7 @@ set_frame_menubar (f, first_time) discard_menu_items (&mm); - for (i = 0; i < XVECTOR (items)->size; i += 3) + for (i = 0; i < XVECTOR (items)->size; i += 4) { Lisp_Object string; int keymaps; -- 2.39.2