From e74af15a7f3bda7ca49c68cfca6bd8007f429e07 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Tue, 11 Dec 2007 20:21:44 +0000 Subject: 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 --- backends/platform/sdl/events.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'backends/platform/sdl') 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; -- cgit v1.2.3