[Scummvm-cvs-logs] CVS: scummvm/backends/wince pocketpc.cpp,1.27.2.1,1.27.2.2

Nicolas Bacca arisme at users.sourceforge.net
Tue Aug 5 16:01:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1:/tmp/cvs-serv15377

Modified Files:
      Tag: branch-0-5-0
	pocketpc.cpp 
Log Message:
Better

Index: pocketpc.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/pocketpc.cpp,v
retrieving revision 1.27.2.1
retrieving revision 1.27.2.2
diff -u -d -r1.27.2.1 -r1.27.2.2
--- pocketpc.cpp	5 Aug 2003 22:38:43 -0000	1.27.2.1
+++ pocketpc.cpp	5 Aug 2003 23:00:16 -0000	1.27.2.2
@@ -71,7 +71,9 @@
 			if (GAPI_key) {
 			*/
 				if (_force_get_key_mapping) {
-					getAction(ACTION_RIGHTCLICK)->action_key = GAPIKeysTranslate((unsigned int)(wParam)) & 0xff;					
+					unsigned char selected_key = GAPIKeysTranslate((unsigned int)(wParam)) & 0xff;
+					clearActionKey(selected_key);
+					getAction(ACTION_RIGHTCLICK)->action_key = selected_key;					
 				}
 				else
 				if (_get_key_mapping) {





More information about the Scummvm-git-logs mailing list