mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Add quotes to the logged filenames.
Differential Revision: https://code.wildfiregames.com/D2212 This was SVN commit r26546.
This commit is contained in:
@@ -227,9 +227,9 @@ void WriteJSONFile(const ScriptInterface& scriptInterface, const std::wstring& f
|
||||
OsPath realPath;
|
||||
g_VFS->GetRealPath(path, realPath, false);
|
||||
if (g_VFS->CreateFile(path, buf.Data(), buf.Size()) == INFO::OK)
|
||||
debug_printf("FILES| JSON data written to %s\n", realPath.string8().c_str());
|
||||
debug_printf("FILES| JSON data written to '%s'\n", realPath.string8().c_str());
|
||||
else
|
||||
debug_printf("FILES| Failed to write JSON data to %s\n", realPath.string8().c_str());
|
||||
debug_printf("FILES| Failed to write JSON data to '%s'\n", realPath.string8().c_str());
|
||||
}
|
||||
|
||||
bool DeleteCampaignSave(const CStrW& filePath)
|
||||
|
||||
Reference in New Issue
Block a user