diff options
author | Nicola Mettifogo | 2007-12-11 20:21:44 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-12-11 20:21:44 +0000 |
commit | e74af15a7f3bda7ca49c68cfca6bd8007f429e07 (patch) | |
tree | 5ec026ae043bc5241a2d24b37705935ab659f855 /backends/platform/sdl | |
parent | f826e62771c43b601258dad6436760835e83dced (diff) | |
download | scummvm-rg350-e74af15a7f3bda7ca49c68cfca6bd8007f429e07.tar.gz scummvm-rg350-e74af15a7f3bda7ca49c68cfca6bd8007f429e07.tar.bz2 scummvm-rg350-e74af15a7f3bda7ca49c68cfca6bd8007f429e07.zip |
Workaround for bug #1763018. Since Amiga key doesn't work as a modifier with SDL, we're allowing Amiga users to quit with Ctrl-z or Alt-x. This also fixes bug #1762886.
svn-id: r29826
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/events.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/platform/sdl/events.cpp b/backends/platform/sdl/events.cpp index f69d46b4c6..255a0e0e66 100644 --- a/backends/platform/sdl/events.cpp +++ b/backends/platform/sdl/events.cpp @@ -232,9 +232,8 @@ bool OSystem_SDL::pollEvent(Common::Event &event) { break; } -#if defined(MACOSX) || defined(__AMIGA__) +#if defined(MACOSX) // On Macintosh', Cmd-Q quits - // On Amigas, Amiga-Q quits if ((ev.key.keysym.mod & KMOD_META) && ev.key.keysym.sym == 'q') { event.type = Common::EVENT_QUIT; return true; |