diff options
author | Max Horn | 2004-11-27 02:26:21 +0000 |
---|---|---|
committer | Max Horn | 2004-11-27 02:26:21 +0000 |
commit | d172111444300a601cfab9dfc55fdef5d015f51c (patch) | |
tree | c2b8df8589052ed7887c584576cab3df96670b8a /sword1 | |
parent | 096f2b61103db3af432bdc5030b303e25a9f28a8 (diff) | |
download | scummvm-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.cpp | 2 |
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); |