[Scummvm-cvs-logs] SF.net SVN: scummvm: [21446] scummvm/trunk/engines/scumm/he/script_v80he.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Fri Mar 24 20:34:05 CET 2006


Revision: 21446
Author:   kirben
Date:     2006-03-24 20:33:33 -0800 (Fri, 24 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21446&view=rev

Log Message:
-----------
Minor cleanup

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/script_v80he.cpp
Modified: scummvm/trunk/engines/scumm/he/script_v80he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v80he.cpp	2006-03-25 04:29:28 UTC (rev 21445)
+++ scummvm/trunk/engines/scumm/he/script_v80he.cpp	2006-03-25 04:33:33 UTC (rev 21446)
@@ -399,15 +399,10 @@
 
 void ScummEngine_v80he::o80_getFileSize() {
 	byte filename[256];
-	uint i;
 
 	copyScriptString(filename, sizeof(filename));
+	convertFilePath(filename);
 
-	for (i = 0; i < strlen((const char *)filename); i++) {
-		if (filename[i] == '\\')
-			filename[i] = '/';
-	}
-
 	Common::File f;
 	if (!f.open((char *)filename)) {
 		push(-1);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list