(Windows) Fixed a compile error

This commit is contained in:
Leon Styhre 2023-04-10 20:21:38 +02:00
parent 1697508393
commit 0f0f24887e

View file

@ -629,7 +629,7 @@ void ImageComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
if (mThemeImageTypes.empty() && elem->has("gameOverridePath")) {
mGameOverridePath = elem->get<std::string>("gameOverridePath");
#if defined(_WIN64)
mBasenamePath = Utils::String::replace(mGameOverridePath, "\\", "/");
mGameOverridePath = Utils::String::replace(mGameOverridePath, "\\", "/");
#endif
if (mGameOverridePath.back() != '/')
mGameOverridePath.push_back('/');