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

This commit is contained in:
Leon Styhre 2023-05-08 17:29:08 +02:00
parent d83374b38f
commit 99d2d5ec04

View file

@ -593,10 +593,20 @@ void MediaDownloadHandle::update()
} }
if (mMediaType == "manuals") { if (mMediaType == "manuals") {
#if defined(_WIN64)
LOG(LogDebug) << "Scraper::update(): Saving game manual \""
<< Utils::String::replace(mSavePath, "/", "\\") << "\"";
#else
LOG(LogDebug) << "Scraper::update(): Saving game manual \"" << mSavePath << "\""; LOG(LogDebug) << "Scraper::update(): Saving game manual \"" << mSavePath << "\"";
#endif
} }
else if (mMediaType == "videos") { else if (mMediaType == "videos") {
#if defined(_WIN64)
LOG(LogDebug) << "Scraper::update(): Saving video \""
<< Utils::String::replace(mSavePath, "/", "\\") << "\"";
#else
LOG(LogDebug) << "Scraper::update(): Saving video \"" << mSavePath << "\""; LOG(LogDebug) << "Scraper::update(): Saving video \"" << mSavePath << "\"";
#endif
} }
// Resize it. // Resize it.