gdi32: CBM_INIT is a flag.

This commit is contained in:
Huw Davies 2009-06-18 15:31:18 +01:00 committed by Alexandre Julliard
parent 03584b4ff6
commit 3742389d45
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{