From: Richard M. Stallman Date: Mon, 29 Apr 1996 15:56:24 +0000 (+0000) Subject: (get_frame_menubar_event, set_frame_menubar): X-Git-Tag: emacs-19.34~751 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2ff1bf379d0714d817529a77b03f0e4ec9e2609;p=emacs.git (get_frame_menubar_event, set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item. --- 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;