aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorNicolas Bacca2002-12-02 00:11:22 +0000
committerNicolas Bacca2002-12-02 00:11:22 +0000
commitc60306cc4471c0536609dfab7d05548e564813f1 (patch)
tree02a8d4d63ef51403d7572a9bb65bae8db270446a /simon
parent6365707048dcb7f99215482235d66dc1cfe01591 (diff)
downloadscummvm-rg350-c60306cc4471c0536609dfab7d05548e564813f1.tar.gz
scummvm-rg350-c60306cc4471c0536609dfab7d05548e564813f1.tar.bz2
scummvm-rg350-c60306cc4471c0536609dfab7d05548e564813f1.zip
better ...
svn-id: r5808
Diffstat (limited to 'simon')
-rw-r--r--simon/items.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/simon/items.cpp b/simon/items.cpp
index 8db0e97ca4..065536a095 100644
--- a/simon/items.cpp
+++ b/simon/items.cpp
@@ -1501,13 +1501,12 @@ void SimonState::o_quit_if_user_presses_y()
for (;;) {
_system->poll_event(&event);
if (event.event_code == OSystem::EVENT_KEYDOWN) {
- event.kbd.keycode = toupper(event.kbd.keycode);
// FIXME Arisme : better than being blocked ?
- if (event.kbd.keycode == 'Y' ||
- event.kbd.keycode == 'O' || /* french */
- event.kbd.keycode == 'J' /* german I guess :) */)
+ if (event.kbd.keycode == 'y' ||
+ event.kbd.keycode == 'o' || /* french */
+ event.kbd.keycode == 'j' /* german I guess :) */)
_system->quit();
- else if (event.kbd.keycode == 'N')
+ else if (event.kbd.keycode == 'n')
break;
}
delay(10);