Commit 3742389d authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32: CBM_INIT is a flag.

parent 03584b4f
......@@ -1120,7 +1120,7 @@ HBITMAP WINAPI CreateDIBitmap( HDC hdc, const BITMAPINFOHEADER *header,
if (handle)
{
if (init == CBM_INIT)
if (init & CBM_INIT)
{
if (SetDIBits( hdc, handle, 0, height, bits, data, coloruse ) == 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment