]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed another return FALSE in a function returning a pointer (patch 545046)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Apr 2002 12:30:12 +0000 (12:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Apr 2002 12:30:12 +0000 (12:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dibutils.cpp

index 0dae6b739915f2a08406268453e542f5eeaf08e9..67b1c0569a40cedb4ea79f1e27ff57ddfb7262b5 100644 (file)
@@ -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?