From d914e49e8dd89f6bf7cdfba9ae5922e33fc7e094 Mon Sep 17 00:00:00 2001 From: albertzeyer Date: Fri, 24 Jul 2009 15:43:00 +0000 Subject: [PATCH] small defaultparam fix git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@151 4df4b0f3-56ce-47cb-b001-ed939b7d65a6 --- src/FindFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FindFile.h b/src/FindFile.h index 2244ea14b..44780dc33 100644 --- a/src/FindFile.h +++ b/src/FindFile.h @@ -185,7 +185,7 @@ FILE* OpenGameFile(const std::string& path, const char *mode); FILE* OpenAbsFile(const std::string& path, const char *mode); bool OpenGameFileR(std::ifstream& f, const std::string& path, std::ios_base::openmode mode = std::ios_base::in); -bool OpenGameFileW(std::ofstream& f, const std::string& path, std::ios_base::openmode mode = std::ios_base::in); +bool OpenGameFileW(std::ofstream& f, const std::string& path, std::ios_base::openmode mode = std::ios_base::out); std::string GetFileContents(const std::string& path, bool absolute = false);