From 59fcb8f8cc7dee0fedee698dfbf2023df6e62e94 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 9 Feb 1999 22:39:55 +0000 Subject: [PATCH] wxMSW compilation problem fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2