diff options
author | Max Horn | 2002-12-08 19:43:11 +0000 |
---|---|---|
committer | Max Horn | 2002-12-08 19:43:11 +0000 |
commit | 4dc93957dab3a9aa57e74d2c19ce3b3c87b8eff9 (patch) | |
tree | a1d7d91683a730eb56d60569e11a5f8b11298df6 | |
parent | bdd479f47d89afc49cc8ad1ea4504b7baa9cd0ef (diff) | |
download | scummvm-rg350-4dc93957dab3a9aa57e74d2c19ce3b3c87b8eff9.tar.gz scummvm-rg350-4dc93957dab3a9aa57e74d2c19ce3b3c87b8eff9.tar.bz2 scummvm-rg350-4dc93957dab3a9aa57e74d2c19ce3b3c87b8eff9.zip |
fix backspace key on OS X
svn-id: r5887
-rw-r--r-- | simon/simon.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index e2e0adcd05..05b12691e9 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -4577,7 +4577,11 @@ void SimonState::delay(uint amount) if (event.kbd.keycode == 'f') _fast_mode ^= 1; } - _key_pressed = (byte)event.kbd.ascii; + // Make sure backspace works right (this fixes a small issue on OS X) + if (event.kbd.keycode == 8) + _key_pressed = 8; + else + _key_pressed = (byte)event.kbd.ascii; break; case OSystem::EVENT_MOUSEMOVE: |