From f8dd3a9aa6b5104d94070ca5341484b35ac3c7c1 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Wed, 20 Jan 2021 08:05:43 +0100 Subject: [PATCH] Update DefaultIOSystem.cpp --- code/Common/DefaultIOSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Common/DefaultIOSystem.cpp b/code/Common/DefaultIOSystem.cpp index 52af14b37..4154aad32 100644 --- a/code/Common/DefaultIOSystem.cpp +++ b/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