aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2011-01-03 19:44:30 +0000
committerFilippos Karapetis2011-01-03 19:44:30 +0000
commitcdb5e55f75652f218549508838c68a6906f0489a (patch)
tree80f519f8e3347c94d75dc969f1d2185ddc21f820
parentf517b6d3446e383936a8a42dc538b975860333dc (diff)
downloadscummvm-rg350-cdb5e55f75652f218549508838c68a6906f0489a.tar.gz
scummvm-rg350-cdb5e55f75652f218549508838c68a6906f0489a.tar.bz2
scummvm-rg350-cdb5e55f75652f218549508838c68a6906f0489a.zip
HUGO: Renamed the "cmd" parameter to "command", as "cmd" is a struct in game.h
svn-id: r55108
-rw-r--r--engines/hugo/menu.cpp6
-rw-r--r--engines/hugo/menu.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/hugo/menu.cpp b/engines/hugo/menu.cpp
index d6e2e8ce7d..98d62b37e7 100644
--- a/engines/hugo/menu.cpp
+++ b/engines/hugo/menu.cpp
@@ -166,8 +166,8 @@ void TopMenu::loadBmpArr(Common::File &in) {
}
}
-void TopMenu::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) {
- switch (cmd) {
+void TopMenu::handleCommand(GUI::CommandSender *sender, uint32 command, uint32 data) {
+ switch (command) {
case kCmdWhat:
close();
break;
@@ -196,7 +196,7 @@ void TopMenu::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data)
close();
break;
default:
- Dialog::handleCommand(sender, cmd, data);
+ Dialog::handleCommand(sender, command, data);
}
}
diff --git a/engines/hugo/menu.h b/engines/hugo/menu.h
index c59607120d..33d5db7b79 100644
--- a/engines/hugo/menu.h
+++ b/engines/hugo/menu.h
@@ -47,7 +47,7 @@ public:
TopMenu(HugoEngine *vm);
void reflowLayout();
- void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data);
+ void handleCommand(GUI::CommandSender *sender, uint32 command, uint32 data);
void handleMouseUp(int x, int y, int button, int clickCount);
void loadBmpArr(Common::File &in);