[Scummvm-cvs-logs] CVS: scummvm/common file.cpp,1.34,1.35

Bertrand Augereau tramboi at users.sourceforge.net
Sun Jun 15 11:57:16 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv11241

Modified Files:
	file.cpp 
Log Message:
Parentheses didn't compile on WIN32

Index: file.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/file.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- file.cpp	14 Jun 2003 18:20:56 -0000	1.34
+++ file.cpp	15 Jun 2003 18:56:41 -0000	1.35
@@ -32,7 +32,7 @@
 
 #ifdef _MSC_VER	// FIXME: is there a better check to detect Windows ?!
 	// Fix for Win98 issue related with game directory pointing to root drive ex. "c:\"
-	if (buf[0] != 0) && (buf[1] == ':') && (buf[2] == '\\') && (buf[3] == 0)) {
+	if ((buf[0] != 0) && (buf[1] == ':') && (buf[2] == '\\') && (buf[3] == 0)) {
 		buf[2] = 0;
 	}
 #endif





More information about the Scummvm-git-logs mailing list