aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2007-06-22 21:38:34 +0000
committerMax Horn2007-06-22 21:38:34 +0000
commitd21b8c43d05b99ac5ad6b340fabbe2a52b49e533 (patch)
tree11b5e66db32c61f8174ca19e5e324a045a0f894a /engines
parentc9030e4653d8dd3a96724681a6423f1b1b296d4d (diff)
downloadscummvm-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 'engines')
-rw-r--r--engines/queen/journal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/queen/journal.cpp b/engines/queen/journal.cpp
index 18674db4a3..c75b03a5c0 100644
--- a/engines/queen/journal.cpp
+++ b/engines/queen/journal.cpp
@@ -522,8 +522,8 @@ void Journal::updateTextField(uint16 ascii, int keycode) {
dirty = true;
}
break;
- case '\n':
- case '\r':
+ case Common::KEYCODE_RETURN:
+ case Common::KEYCODE_KP_ENTER:
if (_textField.text[0]) {
closeTextField();
int currentSlot = _currentSavePage * 10 + _currentSaveSlot;