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

Nicolas Bacca arisme at users.sourceforge.net
Tue Feb 24 13:25:07 CET 2004


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

Modified Files:
      Tag: branch-0-6-0
	CEActions.cpp 
Log Message:
Fix Simon detection

Index: CEActions.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEActions.cpp,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- CEActions.cpp	28 Jan 2004 01:06:29 -0000	1.3
+++ CEActions.cpp	24 Feb 2004 21:09:57 -0000	1.3.2.1
@@ -61,7 +61,7 @@
 	_hide_toolbar_needed(false) 
 {
 	int i;
-	bool is_simon = (strcmp(detector._targetName.c_str(), "simon") == 0);
+	bool is_simon = (strncmp(detector._targetName.c_str(), "simon", 5) == 0);
 	bool is_sword1 = (detector._targetName == "sword1");
 	bool is_sword2 = (strcmp(detector._targetName.c_str(), "sword2") == 0);
 	bool is_queen = (detector._targetName == "queen");





More information about the Scummvm-git-logs mailing list