]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/utilsres.cpp
more IRIX support
[wxWidgets.git] / src / gtk / utilsres.cpp
index 989b81dd13e345c9f05040e381851e4181afe00d..ea2c8af90e2ea6c85a639958dd1ac60714308782 100644 (file)
@@ -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))))