(Windows) Converted forward slashes to backslashes for two log messages.

This commit is contained in:
Leon Styhre 2023-02-27 20:29:37 +01:00
parent 11faacb43a
commit 6a67df894f
2 changed files with 9 additions and 0 deletions

View file

@ -1236,7 +1236,12 @@ void CollectionSystemsManager::populateCustomCollection(CollectionSystemData* sy
LOG(LogInfo) << "Couldn't find custom collection config file \"" << path << "\"";
return;
}
#if defined(_WIN64)
LOG(LogInfo) << "Parsing custom collection file \"" << Utils::String::replace(path, "/", "\\")
<< "\"...";
#else
LOG(LogInfo) << "Parsing custom collection file \"" << path << "\"...";
#endif
FileData* rootFolder {newSys->getRootFolder()};
FileFilterIndex* index {newSys->getIndex()};

View file

@ -507,7 +507,11 @@ void MediaDownloadHandle::update()
if (emptyImage) {
LOG(LogWarning) << "ScreenScraper: Image does not seem to contain any data, not saving "
"it to disk: \""
#if defined(_WIN64)
<< Utils::String::replace(mSavePath, "/", "\\") << "\"";
#else
<< mSavePath << "\"";
#endif
setStatus(ASYNC_DONE);
return;
}