aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/wage/gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 9c76418a59..6075ee1b05 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -102,11 +102,11 @@ Gui::Gui(WageEngine *engine) {
_menu->addStaticMenus(menuSubItems);
_menu->addMenuSubItem(kMenuAbout, _engine->_world->getAboutMenuItemName(), kMenuActionAbout);
- _commandsMenuId = _menu->addMenuItem(_engine->_world->_commandsMenuName.c_str());
+ _commandsMenuId = _menu->addMenuItem(_engine->_world->_commandsMenuName);
regenCommandsMenu();
if (!_engine->_world->_weaponMenuDisabled) {
- _weaponsMenuId = _menu->addMenuItem(_engine->_world->_weaponsMenuName.c_str());
+ _weaponsMenuId = _menu->addMenuItem(_engine->_world->_weaponsMenuName);
regenWeaponsMenu();
} else {
@@ -226,7 +226,7 @@ void Gui::regenWeaponsMenu() {
command += " ";
command += obj->_name;
- _menu->addMenuSubItem(_weaponsMenuId, command.c_str(), kMenuActionCommand, 0, 0, true);
+ _menu->addMenuSubItem(_weaponsMenuId, command, kMenuActionCommand, 0, 0, true);
empty = false;
}