Added string_util to common, small changes in loader.cpp
This commit is contained in:
parent
4ed24a0619
commit
5472fd4d9b
14 changed files with 93 additions and 87 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue