X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/837e96fc55430d80105eca6fb9eecec4c8ce610d..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/gtk/utilsres.cpp diff --git a/src/gtk/utilsres.cpp b/src/gtk/utilsres.cpp index 989b81dd13..ea2c8af90e 100644 --- a/src/gtk/utilsres.cpp +++ b/src/gtk/utilsres.cpp @@ -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))))