浏览代码

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