[Scummvm-cvs-logs] SF.net SVN: scummvm: [27669] scummvm/trunk/engines/gob/util.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sat Jun 23 17:09:32 CEST 2007


Revision: 27669
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27669&view=rev
Author:   drmccoy
Date:     2007-06-23 08:09:22 -0700 (Sat, 23 Jun 2007)

Log Message:
-----------
Using KEYCODE_f and KEYCODE_g instead of 'f' and 'g' to check for fast-mode-keys

Modified Paths:
--------------
    scummvm/trunk/engines/gob/util.cpp

Modified: scummvm/trunk/engines/gob/util.cpp
===================================================================
--- scummvm/trunk/engines/gob/util.cpp	2007-06-23 14:59:58 UTC (rev 27668)
+++ scummvm/trunk/engines/gob/util.cpp	2007-06-23 15:09:22 UTC (rev 27669)
@@ -108,9 +108,9 @@
 			break;
 		case Common::EVENT_KEYDOWN:
 			if (event.kbd.flags == Common::KBD_CTRL) {
-				if (event.kbd.keycode == 'f')
+				if (event.kbd.keycode == Common::KEYCODE_f)
 					_fastMode ^= 1;
-				else if (event.kbd.keycode == 'g')
+				else if (event.kbd.keycode == Common::KEYCODE_g)
 					_fastMode ^= 2;
 				break;
 			}


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