Explorar o código

Remove buggy method.

Kim Kulling %!s(int64=4) %!d(string=hai) anos
pai
achega
f05a57560b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      code/Common/DefaultIOSystem.cpp

+ 1 - 1
code/Common/DefaultIOSystem.cpp

@@ -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;
     }