Explicitly create RStrings to avoid MSVC compiler errors.

This commit is contained in:
Brian Phlipot
2022-10-03 16:21:19 -07:00
committed by teejusb
parent 37aff00d6e
commit c1a3455ce4
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ public:
{
return GetValue();
}
RString const & curLanguage = (THEME && THEME->IsThemeLoaded() ? THEME->GetCurLanguage() : "current");
RString const & curLanguage = (THEME && THEME->IsThemeLoaded() ? THEME->GetCurLanguage() : RString("current"));
LOG->Warn("Missing translation for %s in the %s language.", m_sName.c_str(), curLanguage.c_str());
return m_sName;
}