X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7527fdd8736d2a1e1d4c72014e4dbd2e009ea5ee..7b35aa40a06a160ae4a8650c5820880a020697e3:/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;