[Scummvm-cvs-logs] SF.net SVN: scummvm: [29826] scummvm/trunk/backends/platform/sdl/events.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Tue Dec 11 21:21:44 CET 2007


Revision: 29826
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29826&view=rev
Author:   peres001
Date:     2007-12-11 12:21:44 -0800 (Tue, 11 Dec 2007)

Log Message:
-----------
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.

Modified Paths:
--------------
    scummvm/trunk/backends/platform/sdl/events.cpp

Modified: scummvm/trunk/backends/platform/sdl/events.cpp
===================================================================
--- scummvm/trunk/backends/platform/sdl/events.cpp	2007-12-11 10:12:12 UTC (rev 29825)
+++ scummvm/trunk/backends/platform/sdl/events.cpp	2007-12-11 20:21:44 UTC (rev 29826)
@@ -232,9 +232,8 @@
 				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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list