diff options
author | Max Horn | 2007-06-22 21:16:07 +0000 |
---|---|---|
committer | Max Horn | 2007-06-22 21:16:07 +0000 |
commit | 2fa0a5c457e0aea4edffb49aa80a04a59b6e9994 (patch) | |
tree | 2854c03af1f3fb30e1212d21013f491c6dcc9a6f /engines/sword1 | |
parent | 54d668ac13f57d8acf5d8e627a5daeaa8166ecb3 (diff) | |
download | scummvm-rg350-2fa0a5c457e0aea4edffb49aa80a04a59b6e9994.tar.gz scummvm-rg350-2fa0a5c457e0aea4edffb49aa80a04a59b6e9994.tar.bz2 scummvm-rg350-2fa0a5c457e0aea4edffb49aa80a04a59b6e9994.zip |
Cleaning up after myself (I blame it on, err, uhh... the Vogons?)
svn-id: r27625
Diffstat (limited to 'engines/sword1')
-rw-r--r-- | engines/sword1/control.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sword1/control.cpp b/engines/sword1/control.cpp index 62dd0ecb6b..108773fc23 100644 --- a/engines/sword1/control.cpp +++ b/engines/sword1/control.cpp @@ -1047,9 +1047,10 @@ void Control::delay(uint32 msecs) { case Common::EVENT_KEYDOWN: // Make sure backspace works right (this fixes a small issue on OS X) - if (event.kbd.keycode == Common::KEYCODE_BACKSPACE) + if (event.kbd.keycode == Common::KEYCODE_BACKSPACE) { +printf("Mac backspace workaround, was %d\n", event.kbd.ascii); _keyPressed = 8; - else + } else _keyPressed = (byte)event.kbd.ascii; // we skip the rest of the delay and return immediately // to handle keyboard input |