From cdb5e55f75652f218549508838c68a6906f0489a Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 3 Jan 2011 19:44:30 +0000 Subject: HUGO: Renamed the "cmd" parameter to "command", as "cmd" is a struct in game.h svn-id: r55108 --- engines/hugo/menu.cpp | 6 +++--- engines/hugo/menu.h | 2 +- 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); -- cgit v1.2.3