diff options
author | Max Horn | 2007-06-22 21:38:34 +0000 |
---|---|---|
committer | Max Horn | 2007-06-22 21:38:34 +0000 |
commit | d21b8c43d05b99ac5ad6b340fabbe2a52b49e533 (patch) | |
tree | 11b5e66db32c61f8174ca19e5e324a045a0f894a /gui/message.cpp | |
parent | c9030e4653d8dd3a96724681a6423f1b1b296d4d (diff) | |
download | scummvm-rg350-d21b8c43d05b99ac5ad6b340fabbe2a52b49e533.tar.gz scummvm-rg350-d21b8c43d05b99ac5ad6b340fabbe2a52b49e533.tar.bz2 scummvm-rg350-d21b8c43d05b99ac5ad6b340fabbe2a52b49e533.zip |
Converted some more code to make use of Common::KEYCODE_ / Common::ASCII_
svn-id: r27628
Diffstat (limited to 'gui/message.cpp')
-rw-r--r-- | gui/message.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/message.cpp b/gui/message.cpp index a2de81d1e3..01e30c26a3 100644 --- a/gui/message.cpp +++ b/gui/message.cpp @@ -96,10 +96,10 @@ MessageDialog::MessageDialog(const Common::String &message, const char *defaultB } if (defaultButton) - addButton(this, okButtonPos, _h - buttonHeight - 8, defaultButton, kOkCmd, '\r'); // Confirm dialog + addButton(this, okButtonPos, _h - buttonHeight - 8, defaultButton, kOkCmd, Common::ASCII_RETURN); // Confirm dialog if (altButton) - addButton(this, cancelButtonPos, _h - buttonHeight - 8, altButton, kCancelCmd, '\27'); // Cancel dialog + addButton(this, cancelButtonPos, _h - buttonHeight - 8, altButton, kCancelCmd, Common::ASCII_ESCAPE); // Cancel dialog } void MessageDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) { |