Skip to content

Commit

Permalink
Add Lucas-style alt-x quit shortcut
Browse files Browse the repository at this point in the history
svn-id: r4432
  • Loading branch information
Enderboi committed Jun 26, 2002
1 parent 242e99e commit cbd8673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdl.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit cbd8673

Please sign in to comment.