aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
authorMax Horn2004-11-27 02:26:21 +0000
committerMax Horn2004-11-27 02:26:21 +0000
commitd172111444300a601cfab9dfc55fdef5d015f51c (patch)
treec2b8df8589052ed7887c584576cab3df96670b8a /sword1
parent096f2b61103db3af432bdc5030b303e25a9f28a8 (diff)
downloadscummvm-rg350-d172111444300a601cfab9dfc55fdef5d015f51c.tar.gz
scummvm-rg350-d172111444300a601cfab9dfc55fdef5d015f51c.tar.bz2
scummvm-rg350-d172111444300a601cfab9dfc55fdef5d015f51c.zip
Don't use directory param of File::open unless you have to
svn-id: r15904
Diffstat (limited to 'sword1')
-rw-r--r--sword1/resman.cpp2
1 files changed, 1 insertions, 1 deletions
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);