Commit 30c31797 authored by mercury233's avatar mercury233

fix

parent 6a03a05b
...@@ -882,7 +882,7 @@ void Game::LoadExpansions() { ...@@ -882,7 +882,7 @@ void Game::LoadExpansions() {
#ifdef _WIN32 #ifdef _WIN32
const wchar_t* fname = archive->getFullFileName(j).c_str(); const wchar_t* fname = archive->getFullFileName(j).c_str();
#else #else
const wchar_t fname[1024]; wchar_t fname[1024];
const char* uname = archive->getFullFileName(j).c_str(); const char* uname = archive->getFullFileName(j).c_str();
BufferIO::DecodeUTF8(uname, fname); BufferIO::DecodeUTF8(uname, fname);
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment