Fixed compilation error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-11-20 01:12:36 +00:00
parent 50297bd752
commit 8ca8f1340c

View File

@@ -706,7 +706,7 @@ bool wxLocale::Init(int language, int flags)
return FALSE;
}
#elif defined(__WIN32__)
wxMB2WXbuf retloc(wxT("C"));
wxMB2WXbuf retloc = wxT("C");
if (language != wxLANGUAGE_DEFAULT)
{
if (info->WinLang == 0)
@@ -1256,7 +1256,7 @@ wxString wxLocale::GetSystemEncodingName()
char *alang = nl_langinfo(CODESET);
setlocale(LC_CTYPE, oldLocale);
free(oldLocale);
if ( alang )
{
// 7 bit ASCII encoding has several alternative names which we should