fixed typo in code for setting alternative locale name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1719,7 +1719,7 @@ bool wxLocale::Init(int language, int flags)
|
||||
{
|
||||
retloc = wxSetlocaleTryUTF(LC_ALL, localeAlt);
|
||||
if ( !retloc )
|
||||
retloc = wxSetlocaleTryUTF(LC_ALL, locale.Left(2));
|
||||
retloc = wxSetlocaleTryUTF(LC_ALL, localeAlt.Left(2));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user