[Scummvm-cvs-logs] CVS: scummvm/common util.cpp,1.44,1.45

Max Horn fingolfin at users.sourceforge.net
Wed Jun 23 03:24:35 CEST 2004


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28057

Modified Files:
	util.cpp 
Log Message:
As the comment above this code section states, the only reason we accept 1,2,3 here is for backward compatibility. 4 and 5 never were legal values, hence they shouldn't be detected

Index: util.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/util.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- util.cpp	23 Jun 2004 02:14:19 -0000	1.44
+++ util.cpp	23 Jun 2004 10:23:44 -0000	1.45
@@ -189,10 +189,6 @@
 		return kPlatformAtariST;
 	else if (!strcmp(s, "3"))
 		return kPlatformMacintosh;
-	else if (!strcmp(s, "4"))
-		return kPlatformFMTowns;
-	else if (!strcmp(s, "5"))
-		return kPlatformWindows;
 
 	const PlatformDescription *l = g_platforms;
 	for (; l->code; ++l) {





More information about the Scummvm-git-logs mailing list