diff --git a/objects/dib.c b/objects/dib.c index e541c20c8d2..c2108244c36 100644 --- a/objects/dib.c +++ b/objects/dib.c @@ -757,8 +757,7 @@ HBITMAP WINAPI CreateDIBitmap( HDC hdc, const BITMAPINFOHEADER *header, /* In all other cases, we create a color bitmap. */ if (bpp != 1) fColor = TRUE; - else if ((coloruse != DIB_RGB_COLORS) || - (init != CBM_INIT) || !data) fColor = FALSE; + else if ((coloruse != DIB_RGB_COLORS) || !data) fColor = FALSE; else { if (data->bmiHeader.biSize == sizeof(BITMAPINFOHEADER))