changeset 15110:5a9c77df2706

(get_frame_menubar_event, set_frame_menubar): FRAME_MENU_BAR_ITEMS now has four elements per item.
author Richard M. Stallman <rms@gnu.org>
date Mon, 29 Apr 1996 15:56:24 +0000
parents b801c02f3e92
children 6a5ae152de0d
files src/w32menu.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32menu.c	Mon Apr 29 15:49:43 1996 +0000
+++ b/src/w32menu.c	Mon Apr 29 15:56:24 1996 +0000
@@ -1354,7 +1354,7 @@
   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 @@
   
   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;