aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2009-08-16 13:47:48 +0000
committerMatthew Hoops2009-08-16 13:47:48 +0000
commita718e608f4dfa7206ebd41ea5fafa3ff736922a1 (patch)
treeb210edef6f09542c5a011f58796ea4a913980a3a /engines
parent2b32a651ec3766b6a412d4e4297e0fd8899e1024 (diff)
downloadscummvm-rg350-a718e608f4dfa7206ebd41ea5fafa3ff736922a1.tar.gz
scummvm-rg350-a718e608f4dfa7206ebd41ea5fafa3ff736922a1.tar.bz2
scummvm-rg350-a718e608f4dfa7206ebd41ea5fafa3ff736922a1.zip
Fix for bug #2838517 (FF: backspace does not work when typing save game name).
svn-id: r43440
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/event.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp
index 2ba5d56243..cf84b78dc8 100644
--- a/engines/agos/event.cpp
+++ b/engines/agos/event.cpp
@@ -498,8 +498,11 @@ void AGOSEngine::delay(uint amount) {
_variableArray[41] = 1;
}
- // Make sure backspace works right (this fixes a small issue on OS X)
_keyPressed = event.kbd;
+
+ // Make sure backspace works right (this fixes a small issue on OS X)
+ if (_keyPressed.keycode == Common::KEYCODE_BACKSPACE)
+ _keyPressed.ascii = Common::KEYCODE_BACKSPACE;
break;
case Common::EVENT_MOUSEMOVE:
break;