git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4543
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
environment = GetIniFile(filename, (const wxChar *) NULL);
size_t len = wxStrlen(environment);
- char hostbuf[1024];
+ wxChar hostbuf[1024];
(void)wxGetHostName(hostbuf, WXSIZEOF(hostbuf) - len);
- wxStrcat(environment, wxConvCurrent->cMB2WX(hostbuf));
+ wxStrcat(environment, hostbuf);
}
if ((homeDB = XrmGetFileDatabase(wxConvCurrent->cWX2MB(environment))))
environment = GetIniFile(filename, (const wxChar *) NULL);
size_t len = wxStrlen(environment);
- char hostbuf[1024];
+ wxChar hostbuf[1024];
(void)wxGetHostName(hostbuf, WXSIZEOF(hostbuf) - len);
- wxStrcat(environment, wxConvCurrent->cMB2WX(hostbuf));
+ wxStrcat(environment, hostbuf);
}
if ((homeDB = XrmGetFileDatabase(wxConvCurrent->cWX2MB(environment))))