summaryrefslogtreecommitdiff
path: root/src/common/file_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/file_util.h')
-rw-r--r--src/common/file_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h
index 0871734d4..fdae5c9c8 100644
--- a/src/common/file_util.h
+++ b/src/common/file_util.h
@@ -213,7 +213,7 @@ template <typename T>
213void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmode openmode) 213void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmode openmode)
214{ 214{
215#ifdef _WIN32 215#ifdef _WIN32
216 fstream.open(UTF8ToTStr(filename).c_str(), openmode); 216 fstream.open(Common::UTF8ToTStr(filename).c_str(), openmode);
217#else 217#else
218 fstream.open(filename.c_str(), openmode); 218 fstream.open(filename.c_str(), openmode);
219#endif 219#endif