wxGetHostName uses wxChar, not char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -153,10 +153,10 @@ static void wxXMergeDatabases()
|
||||
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))))
|
||||
|
Reference in New Issue
Block a user