From: Vadim Zeitlin Date: Sat, 20 Apr 2002 12:30:12 +0000 (+0000) Subject: fixed another return FALSE in a function returning a pointer (patch 545046) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6703082ef036da3e3043e25f3f439bbc6208c65f fixed another return FALSE in a function returning a pointer (patch 545046) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/dibutils.cpp b/src/msw/dibutils.cpp index 0dae6b7399..67b1c0569a 100644 --- a/src/msw/dibutils.cpp +++ b/src/msw/dibutils.cpp @@ -305,7 +305,7 @@ PDIB wxDibReadBitmapInfo(HFILE fh) } if (sizeof(bi) != _lread(fh,(LPSTR)&bi,sizeof(bi))) - return FALSE; + return NULL; /* * what type of bitmap info is this?