https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cf9ba2b9ce38cb6db7c258...
commit cf9ba2b9ce38cb6db7c2580be40d55ed74f99eee Author: Mark Jansen mark.jansen@reactos.org AuthorDate: Sun May 3 18:33:06 2020 +0200 Commit: Mark Jansen mark.jansen@reactos.org CommitDate: Sun May 3 18:33:06 2020 +0200
[RAPPS] Fix locale fallback code --- base/applications/rapps/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/rapps/misc.cpp b/base/applications/rapps/misc.cpp index d7bd62c9d99..2854c9432eb 100644 --- a/base/applications/rapps/misc.cpp +++ b/base/applications/rapps/misc.cpp @@ -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)