From: Stefan Csomor Date: Tue, 4 Jan 2005 06:45:27 +0000 (+0000) Subject: using lang param, to have a CFLanguage be consistent with C-Locale X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b51daa4f6c7e975f6bbaebda1732d7d4f75a8100 using lang param, to have a CFLanguage be consistent with C-Locale git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/intl.cpp b/src/common/intl.cpp index d1196aa6fb..d9dd83410c 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1686,7 +1686,7 @@ bool wxLocale::Init(int language, int flags) return false; } #elif defined(__WXMAC__) - if (language == wxLANGUAGE_DEFAULT) + if (lang == wxLANGUAGE_DEFAULT) locale = wxEmptyString; else locale = info->CanonicalName;