X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ead190e478a3a0ac2ce7881ef53493026eb098b3..c56ae04274fda26269c6d06be34cf59a45eb70ce:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index c1055e99e3..459f3189d6 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1802,7 +1802,7 @@ bool wxLocale::Init(int language, int flags) #ifndef WX_NO_LOCALE_SUPPORT wxChar *szLocale = retloc ? wxStrdup(retloc) : NULL; - bool ret = Init(name, canonical, retloc, + bool ret = Init(name, canonical, szLocale, (flags & wxLOCALE_LOAD_DEFAULT) != 0, (flags & wxLOCALE_CONV_ENCODING) != 0); free(szLocale); @@ -1811,7 +1811,7 @@ bool wxLocale::Init(int language, int flags) m_language = lang; return ret; -#endif +#endif // !WX_NO_LOCALE_SUPPORT }