[RAPPS] Fix locale fallback code

This commit is contained in:
Mark Jansen 2020-05-03 18:33:06 +02:00
parent d8eeb31b8a
commit cf9ba2b9ce
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -336,7 +336,7 @@ VOID CConfigParser::CacheINILocale()
m_szCachedINISectionLocale = L"Section." + m_szLocaleID;
// turn "Section.0c0a" into "Section.0a", keeping just the neutral lang part
m_szCachedINISectionLocaleNeutral = m_szCachedINISectionLocale + m_szLocaleID.Right(2);
m_szCachedINISectionLocaleNeutral = m_szCachedINISectionLocale.Left(m_szCachedINISectionLocale.GetLength() - 2);
}
BOOL CConfigParser::GetString(const ATL::CStringW& KeyName, ATL::CStringW& ResultString)