X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7527fdd8736d2a1e1d4c72014e4dbd2e009ea5ee..19e30148e18cc99296b26503c155e5cef59045f4:/src/msw/dib.cpp diff --git a/src/msw/dib.cpp b/src/msw/dib.cpp index c48d865d23..5267d91587 100644 --- a/src/msw/dib.cpp +++ b/src/msw/dib.cpp @@ -659,7 +659,7 @@ HPALETTE wxMakeDIBPalette(LPBITMAPINFOHEADER lpInfo) npPal = (LPLOGPALETTE)malloc(sizeof(LOGPALETTE) + (WORD)lpInfo->biClrUsed * sizeof(PALETTEENTRY)); if (!npPal) - return(FALSE); + return NULL; npPal->palVersion = 0x300; npPal->palNumEntries = (WORD)lpInfo->biClrUsed;