[Scummvm-cvs-logs] CVS: scummvm/common file.cpp,1.6,1.7

Pawe? Ko?odziejski aquadran at users.sourceforge.net
Mon Sep 2 14:19:32 CEST 2002


Update of /cvsroot/scummvm/scummvm/common
In directory usw-pr-cvs1:/tmp/cvs-serv13025

Modified Files:
	file.cpp 
Log Message:
removed (+ pos)

Index: file.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/file.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- file.cpp	2 Sep 2002 20:53:12 -0000	1.6
+++ file.cpp	2 Sep 2002 21:12:57 -0000	1.7
@@ -57,14 +57,14 @@
 			do
 				*ptr++ = toupper(*ptr);
 			while (*ptr);
-			_handle = fopen(buf + pos, "rb");
+			_handle = fopen(buf, "rb");
 		}
 		if (_handle == NULL) {
 			ptr = buf + pos;
 			do
 				*ptr++ = tolower(*ptr);
 			while (*ptr);
-			_handle = fopen(buf + pos, "rb");
+			_handle = fopen(buf, "rb");
 		}
 		if (_handle == NULL) {
 			debug(2, "File %s not found", filename);





More information about the Scummvm-git-logs mailing list