2
0
Johan Mattsson 2 жил өмнө
parent
commit
801fac8eb9

+ 1 - 1
engine/source/platformWin32/winConsole_ScriptBinding.h

@@ -42,7 +42,7 @@ ConsoleFunctionWithDocs(enableWinConsole, ConsoleVoid, 2, 2, ( enable ))
 ConsoleFunctionWithDocs(getWinNTVersion, ConsoleVoid, 1, 1, ())
 {
 	std::string ver = getWinNTVersion();
-	Con::printf("%s", ver);
+	Con::printf("%s", ver.c_str());
 }
 
 /*! @} */ // end group WindowsPlatform