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:
Václav Slavík
2007-01-19 23:25:39 +00:00
parent 1d51064ce3
commit 01ad5e43bf

View File

@@ -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));
}
}