From cdc059191b6e36808967b8b1efecc8f5a6cd769e Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 7 Nov 2005 13:47:44 +0000 Subject: [PATCH] Fixed #1338966. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) { -- 2.45.2