1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-09 15:50:21 +00:00

(get_frame_menubar_event, set_frame_menubar):

FRAME_MENU_BAR_ITEMS now has four elements per item.
This commit is contained in:
Richard M. Stallman 1996-04-29 15:56:24 +00:00
parent 9a1dc3be43
commit d2ff1bf379

View File

@ -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;