Add quotes to the logged filenames.

Differential Revision: https://code.wildfiregames.com/D2212
This was SVN commit r26546.
This commit is contained in:
Stan
2022-03-05 18:30:38 +00:00
parent 376720e55e
commit 9ce9273c35
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -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)