[Scummvm-cvs-logs] SF.net SVN: scummvm:[38708] scummvm/trunk/engines/sci/gfx/gfx_driver.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Sat Feb 21 18:15:26 CET 2009


Revision: 38708
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38708&view=rev
Author:   wjpalenstijn
Date:     2009-02-21 17:15:26 +0000 (Sat, 21 Feb 2009)

Log Message:
-----------
fix translation of shift-F-keys too

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gfx/gfx_driver.cpp

Modified: scummvm/trunk/engines/sci/gfx/gfx_driver.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/gfx_driver.cpp	2009-02-21 17:13:05 UTC (rev 38707)
+++ scummvm/trunk/engines/sci/gfx/gfx_driver.cpp	2009-02-21 17:15:26 UTC (rev 38708)
@@ -395,7 +395,7 @@
 				// SCI_K_SHIFT_F1 == 84 << 8
 				input.data = SCI_K_F1 + ((input.data - Common::KEYCODE_F1)<<8);
 				if (input.buckybits & (SCI_EVM_LSHIFT | SCI_EVM_RSHIFT))
-					input.character = input.data + ((SCI_K_SHIFT_F1 - SCI_K_F1) << 8);
+					input.character = input.data + SCI_K_SHIFT_F1 - SCI_K_F1;
 				else
 					input.character = input.data;
 			} else {


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