aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-04 16:48:26 +0200
committerEugene Sandulenko2019-10-04 16:48:26 +0200
commit02ff887ae08cbf2d1e09ad17854ec8c4290ecf4c (patch)
tree6b74054519def5254fa55985e7dd47574c71a341 /graphics/macgui
parent28ac30b4fcd58a75f423e3c62a09b2294ad4b360 (diff)
downloadscummvm-rg350-02ff887ae08cbf2d1e09ad17854ec8c4290ecf4c.tar.gz
scummvm-rg350-02ff887ae08cbf2d1e09ad17854ec8c4290ecf4c.tar.bz2
scummvm-rg350-02ff887ae08cbf2d1e09ad17854ec8c4290ecf4c.zip
GRAPHICS: MACGUI: Enhande printMenu output
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/macmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp
index 58ae0f89e8..59bc9499ad 100644
--- a/graphics/macgui/macmenu.cpp
+++ b/graphics/macgui/macmenu.cpp
@@ -271,7 +271,7 @@ MacMenu *MacMenu::createMenuFromPEexe(Common::PEResources &exe, MacWindowManager
void MacMenu::printMenu(int level, MacMenuSubMenu *submenu) {
if (!level) {
for (uint i = 0; i < _items.size(); i++) {
- debug("0. %s", _items[i]->unicode ? convertFromU32String(_items[i]->unicodeText).c_str() : _items[i]->text.c_str());
+ debug("0. %s --> %d", _items[i]->unicode ? convertFromU32String(_items[i]->unicodeText).c_str() : _items[i]->text.c_str(), _items[i]->action);
if (_items[i]->submenu != nullptr)
printMenu(level + 1, _items[i]->submenu);
@@ -282,7 +282,7 @@ void MacMenu::printMenu(int level, MacMenuSubMenu *submenu) {
for (int j = 0; j < level; j++)
debugN(" ");
- debug("%s", submenu->items[i]->unicode ? convertFromU32String(submenu->items[i]->unicodeText).c_str() : submenu->items[i]->text.c_str());
+ debug("%s --> %d", submenu->items[i]->unicode ? convertFromU32String(submenu->items[i]->unicodeText).c_str() : submenu->items[i]->text.c_str(), submenu->items[i]->action);
if (submenu->items[i]->submenu != nullptr)
printMenu(level + 1, submenu->items[i]->submenu);