aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/file_util.h
diff options
context:
space:
mode:
authorGravatar bunnei <bunneidev@gmail.com>2014-09-11 00:04:36 -0400
committerGravatar bunnei <bunneidev@gmail.com>2014-09-11 00:04:36 -0400
commit532a9e80a0bd242d2937335063b719130405d6bc (patch)
tree84fe1f054b62edc488a7a9e80eb8f79b2dd05cd0 /src/common/file_util.h
parentd79fe3ebaadbc19e8ffe5075bad51a9735aafb38 (diff)
parent8fe5f2e2fe33ccde39bc79898052a8f679222964 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h
index 0871734d..fdae5c9c 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