]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dib.cpp
A few tweaks and cleanups
[wxWidgets.git] / src / msw / dib.cpp
index c48d865d23dc5011bda70f4c6d2805c5c4a0421a..5267d9158767bfbe070775d178a966c53eb6c6f8 100644 (file)
@@ -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;