Fixes path formatting in Windows OOS error message, patch by elexis, fixes #3498
This was SVN commit r17134.
This commit is contained in:
parent
c0b4e78801
commit
b97e565017
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user