aboutsummaryrefslogtreecommitdiff
path: root/sdl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdl.cpp')
-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;
}