diff options
Diffstat (limited to 'src/common/file_util.h')
| -rw-r--r-- | src/common/file_util.h | 2 |
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> | |||
| 213 | void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmode openmode) | 213 | void 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 |