From c0c8dc0351e11deb342c72899e5e2ec10e774039 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 4 Oct 2019 17:18:27 +0200 Subject: GRAPHICS: MACGUI: Fix action id processing from the PE exe menus --- graphics/macgui/macmenu.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'graphics') diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp index ea8f5c1e8d..946161f5ee 100644 --- a/graphics/macgui/macmenu.cpp +++ b/graphics/macgui/macmenu.cpp @@ -239,9 +239,6 @@ MacMenu *MacMenu::createMenuFromPEexe(Common::PEResources &exe, MacWindowManager if (depth > 0) { menu->addMenuItem(menus.top(), name, action, 0, 0, !(flags & kGrayed)); } - if (!name.empty()) { - action++; - } if (flags & kEndMenu) { menus.pop(); depth--; -- cgit v1.2.3