Преглед изворни кода

Update DefaultIOSystem.cpp

Kim Kulling пре 4 година
родитељ
комит
f8dd3a9aa6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      code/Common/DefaultIOSystem.cpp

+ 1 - 1
code/Common/DefaultIOSystem.cpp

@@ -122,7 +122,7 @@ IOStream *DefaultIOSystem::Open(const char *strFile, const char *strMode) {
         return nullptr;
     }
     
-    file = ::_wfopen(, Utf8ToWide(strMode).c_str());
+    file = ::_wfopen(name.c_str(), Utf8ToWide(strMode).c_str());
 #else
     file = ::fopen(strFile, strMode);
 #endif