Fixes path formatting in Windows OOS error message, patch by elexis, fixes #3498

This was SVN commit r17134.
This commit is contained in:
historic_bruno 2015-10-15 03:50:45 +00:00
parent c0b4e78801
commit b97e565017

View File

@ -259,7 +259,7 @@ void CNetTurnManager::DisplayOOSError(u32 turn, const CStr& hash, const CStr& ex
msg << "\n\n" << "Your game state is " << (expectedHash == hash ? "identical to" : "different from") << " the hosts game state.";
if (path)
msg << "\n\n" << "Dumping current state to " << utf8_from_wstring(OsPath(*path).string());
msg << "\n\n" << "Dumping current state to " << CStr(path->string8()).EscapeToPrintableASCII();
LOGERROR("%s", msg.str());