(Windows) Converted forward slashes to backslashes for a log message.

This commit is contained in:
Leon Styhre 2023-04-06 11:50:18 +02:00
parent 2209c384aa
commit 814029bb66

View file

@ -789,7 +789,12 @@ void ThemeData::populateThemeSets()
else if (Utils::FileSystem::isDirectory(userThemeDirSetting) ||
Utils::FileSystem::isSymlink(userThemeDirSetting)) {
userThemeDirectory = userThemeDirSetting;
#if defined(_WIN64)
LOG(LogInfo) << "Setting user theme directory to \""
<< Utils::String::replace(userThemeDirectory, "/", "\\") << "\"";
#else
LOG(LogInfo) << "Setting user theme directory to \"" << userThemeDirectory << "\"";
#endif
}
else {
LOG(LogWarning) << "Requested user theme directory \"" << userThemeDirSetting