Motif compilation fixes (now ok)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -462,8 +462,8 @@ void wxXMergeDatabases (wxApp * theApp, Display * display)
|
||||
size_t len;
|
||||
environment = GetIniFile (filename, NULL);
|
||||
len = strlen (environment);
|
||||
wxString hostname;
|
||||
if ( wxGetHostName(hostname) )
|
||||
wxString hostname = wxGetHostName();
|
||||
if ( !!hostname )
|
||||
strncat(environment, hostname, 1024 - len);
|
||||
}
|
||||
homeDB = XrmGetFileDatabase (environment);
|
||||
|
Reference in New Issue
Block a user