aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2002-06-26 11:45:12 +0000
committerJames Brown2002-06-26 11:45:12 +0000
commitcbd867329e018d7eca12b3a8842e52b8db9f494d (patch)
treea41db94e3405e4bcb41c3a64d52c705939dcdd2c
parent242e99eeb9c7020c53f434a112fe7ed428c3256b (diff)
downloadscummvm-rg350-cbd867329e018d7eca12b3a8842e52b8db9f494d.tar.gz
scummvm-rg350-cbd867329e018d7eca12b3a8842e52b8db9f494d.tar.bz2
scummvm-rg350-cbd867329e018d7eca12b3a8842e52b8db9f494d.zip
Add Lucas-style alt-x quit shortcut
svn-id: r4432
-rw-r--r--sdl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl.cpp b/sdl.cpp
index b4e6af3e40..0b62b4492e 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -855,7 +855,7 @@ bool OSystem_SDL::poll_event(Event *event) {
break;
}
- if (b == KBD_CTRL && ev.key.keysym.sym=='z') {
+ if ((b == KBD_CTRL && ev.key.keysym.sym=='z') || (b == KBD_ALT && ev.key.keysym.sym=='x')) {
quit();
break;
}