Another compiler fix for GCC 3.2 Another compiler fix for GCC 3.2..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -800,7 +800,12 @@ char *wxGetUserHome( const wxString &user )
|
||||
|
||||
if ((ptr = wxGetenv(wxT("HOME"))) != NULL)
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
wxWCharBuffer buffer( ptr );
|
||||
return buffer;
|
||||
#else
|
||||
return ptr;
|
||||
#endif
|
||||
}
|
||||
if ((ptr = wxGetenv(wxT("USER"))) != NULL || (ptr = wxGetenv(wxT("LOGNAME"))) != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user