[Scummvm-cvs-logs] CVS: scummvm/sword1 resman.cpp,1.16,1.17

Max Horn fingolfin at users.sourceforge.net
Sun Jun 27 15:16:02 CEST 2004


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

Modified Files:
	resman.cpp 
Log Message:
Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls

Index: resman.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/resman.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- resman.cpp	11 Jan 2004 16:27:36 -0000	1.16
+++ resman.cpp	27 Jun 2004 22:14:32 -0000	1.17
@@ -145,7 +145,7 @@
 	char outn[30];
 	sprintf(outn, "DUMP%08X.BIN", id);
 	File outf;
-	if (outf.open(outn, "", File::kFileWriteMode)) {
+	if (outf.open(outn, File::kFileWriteMode, "")) {
 		resOpen(id);
 		MemHandle *memHandle = resHandle(id);
 		outf.write(memHandle->data, memHandle->size);





More information about the Scummvm-git-logs mailing list