aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2016-07-28 16:52:31 +0300
committerEugene Sandulenko2016-07-28 16:52:31 +0300
commita72b7ab0f709ede78ad3e568bf0e341f66e873b7 (patch)
treeec55d26540cfea5192d66d1ce54b9d887379208c /engines/wage
parent406b8cf33bc8c324b5040978f74f04d7ed66b054 (diff)
downloadscummvm-rg350-a72b7ab0f709ede78ad3e568bf0e341f66e873b7.tar.gz
scummvm-rg350-a72b7ab0f709ede78ad3e568bf0e341f66e873b7.tar.bz2
scummvm-rg350-a72b7ab0f709ede78ad3e568bf0e341f66e873b7.zip
WAGE: Fix weapons menu size
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/macmenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/wage/macmenu.cpp b/engines/wage/macmenu.cpp
index ed5f5070ff..b29903c674 100644
--- a/engines/wage/macmenu.cpp
+++ b/engines/wage/macmenu.cpp
@@ -145,6 +145,8 @@ int Menu::addMenuItem(const char *name) {
void Menu::addMenuSubItem(int id, const char *text, int action, int style, char shortcut, bool enabled) {
_items[id]->subitems.push_back(new MenuSubItem(text, action, style, shortcut, enabled));
+
+ calcMenuBounds(_items[id]);
}
void Menu::calcDimensions() {