Remove buggy method.
parent
22f632d8d0
commit
f05a57560b
|
@ -117,7 +117,7 @@ IOStream *DefaultIOSystem::Open(const char *strFile, const char *strMode) {
|
|||
ai_assert(strMode != nullptr);
|
||||
FILE *file;
|
||||
#ifdef _WIN32
|
||||
std::string name = Utf8ToWide(strFile).c_str();
|
||||
std::string name = Utf8ToWide(strFile);
|
||||
if (name.empty()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue