diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 9a2dc00536..8b7a9c9426 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -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)); } }