wxGetUserHome() returns a const value in Unicode mode.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-16 11:20:59 +00:00
parent 05079acc83
commit 2aaf2049c0
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ static wxChar *GetResourcePath(wxChar *buf, wxChar *name, bool create)
// the Real User, then determine the Real home dir.
static wxChar *GetIniFile(wxChar *dest, const wxChar *filename)
{
wxChar *home = (wxChar *) NULL;
const wxChar *home = (const wxChar *) NULL;
if (filename && wxIsAbsolutePath(filename))
{
wxStrcpy(dest, filename);