diff options
author | Eugene Sandulenko | 2019-10-04 17:18:27 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-04 17:18:27 +0200 |
commit | c0c8dc0351e11deb342c72899e5e2ec10e774039 (patch) | |
tree | 4f6f4e40d7edeed5d6ecbda5eb8a46ebe582bf0d /graphics | |
parent | 4f3d41c77d345ed47ad0b7147c6f59e33288110e (diff) | |
download | scummvm-rg350-c0c8dc0351e11deb342c72899e5e2ec10e774039.tar.gz scummvm-rg350-c0c8dc0351e11deb342c72899e5e2ec10e774039.tar.bz2 scummvm-rg350-c0c8dc0351e11deb342c72899e5e2ec10e774039.zip |
GRAPHICS: MACGUI: Fix action id processing from the PE exe menus
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/macmenu.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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--; |