From d172111444300a601cfab9dfc55fdef5d015f51c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 27 Nov 2004 02:26:21 +0000 Subject: Don't use directory param of File::open unless you have to svn-id: r15904 --- sword1/resman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword1') diff --git a/sword1/resman.cpp b/sword1/resman.cpp index 63cb31409c..4841a3d239 100644 --- a/sword1/resman.cpp +++ b/sword1/resman.cpp @@ -187,7 +187,7 @@ void ResMan::dumpRes(uint32 id) { 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); -- cgit v1.2.3