[Scummvm-cvs-logs] CVS: scummvm/backends/wince/CEgui PanelKeyboard.cpp,1.3,1.3.2.1

Nicolas Bacca arisme at users.sourceforge.net
Mon Jan 10 12:44:00 CET 2005


Update of /cvsroot/scummvm/scummvm/backends/wince/CEgui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18233/CEgui

Modified Files:
      Tag: branch-0-7-0
	PanelKeyboard.cpp 
Log Message:
Fix possible infinite loop when using a mapped key for the same action - fix FOTAQ sound (add FM_medium_quality option) - homogenous keyboard emulation

Index: PanelKeyboard.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/PanelKeyboard.cpp,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- PanelKeyboard.cpp	9 May 2004 14:47:26 -0000	1.3
+++ PanelKeyboard.cpp	10 Jan 2005 20:43:17 -0000	1.3.2.1
@@ -72,10 +72,10 @@
 				keyCode = 10;
 			}
 
-			if (keyAscii != 0 && pushed) {
+			if (keyAscii != 0) {
 				_key.setAscii(keyAscii);
 				_key.setKeycode(tolower(keyAscii));
-				return EventsBuffer::simulateKey(&_key);
+				return EventsBuffer::simulateKey(&_key, pushed);
 			}
 			else
 				return false;





More information about the Scummvm-git-logs mailing list