Fix for bug #2838517 (FF: backspace does not work when typing save game name).

svn-id: r43440
This commit is contained in:
Matthew Hoops 2009-08-16 13:47:48 +00:00
parent 2b32a651ec
commit a718e608f4

View File

@ -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;