aboutsummaryrefslogtreecommitdiff
path: root/engines/touche
diff options
context:
space:
mode:
authorMax Horn2007-06-22 23:03:12 +0000
committerMax Horn2007-06-22 23:03:12 +0000
commita041ef23174a21eb42285e8c518f38b81468b13d (patch)
tree0104912998af89016c5d935fda66898b13d400ef /engines/touche
parentd0ee1b3c8ff521707a6f5064ee54638460aaee21 (diff)
downloadscummvm-rg350-a041ef23174a21eb42285e8c518f38b81468b13d.tar.gz
scummvm-rg350-a041ef23174a21eb42285e8c518f38b81468b13d.tar.bz2
scummvm-rg350-a041ef23174a21eb42285e8c518f38b81468b13d.zip
Slightly updated key handling in BS2, Kyra, and Touche
svn-id: r27637
Diffstat (limited to 'engines/touche')
-rw-r--r--engines/touche/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/touche/ui.cpp b/engines/touche/ui.cpp
index bf2fb747ab..ef8f5a0d7d 100644
--- a/engines/touche/ui.cpp
+++ b/engines/touche/ui.cpp
@@ -399,7 +399,7 @@ void ToucheEngine::handleOptions(int forceDisplay) {
break;
case Common::EVENT_KEYDOWN:
if (menuData.mode == kMenuSaveStateMode) {
- if (event.kbd.keycode == 8) {
+ if (event.kbd.keycode == Common::KEYCODE_BACKSPACE) {
menuData.removeLastCharFromDescription(_saveLoadCurrentSlot);
} else {
menuData.addCharToDescription(_saveLoadCurrentSlot, (char)event.kbd.ascii);