X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb48778d4d541c91cf473404531104a76513fcd8..1aaf88d2208793f6a05f02c3e23ade668555d31e:/src/common/intl.cpp 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;