From: Vadim Zeitlin Date: Tue, 9 Feb 1999 22:39:55 +0000 (+0000) Subject: wxMSW compilation problem fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/59fcb8f8cc7dee0fedee698dfbf2023df6e62e94 wxMSW compilation problem fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 36bd79187f..364e400c01 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1347,7 +1347,7 @@ try_again: #ifdef __WIN32__ if (gs_hFileStruct == INVALID_HANDLE_VALUE) - return NULL; + return result; bool success = (FindNextFile(gs_hFileStruct, &gs_findDataStruct) != 0); if (!success)