From: Włodzimierz Skiba Date: Mon, 7 Nov 2005 13:47:44 +0000 (+0000) Subject: Fixed #1338966. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cdc059191b6e36808967b8b1efecc8f5a6cd769e Fixed #1338966. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index cb433eb7e4..ea432becaa 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1351,11 +1351,11 @@ wxChar *wxDoGetCwd(wxChar *buf, int sz) #if defined(__WXPALMOS__) // TODO if(buf && sz>0) buf[0] = _T('\0'); - return NULL; + return buf; #elif defined(__WXWINCE__) // TODO if(buf && sz>0) buf[0] = _T('\0'); - return NULL; + return buf; #else if ( !buf ) {