diff options
author | bunnei <bunneidev@gmail.com> | 2014-09-11 00:04:36 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-09-11 00:04:36 -0400 |
commit | 532a9e80a0bd242d2937335063b719130405d6bc (patch) | |
tree | 84fe1f054b62edc488a7a9e80eb8f79b2dd05cd0 /src/common/file_util.h | |
parent | d79fe3ebaadbc19e8ffe5075bad51a9735aafb38 (diff) | |
parent | 8fe5f2e2fe33ccde39bc79898052a8f679222964 (diff) |
Merge pull request #99 from archshift/ext-check
loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
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 0871734d48..fdae5c9c89 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -213,7 +213,7 @@ template <typename T> void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmode openmode) { #ifdef _WIN32 - fstream.open(UTF8ToTStr(filename).c_str(), openmode); + fstream.open(Common::UTF8ToTStr(filename).c_str(), openmode); #else fstream.open(filename.c_str(), openmode); #endif |