Module: wine Branch: master Commit: 3742389d457c3b51c8b0d079a7290048bde53559 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3742389d457c3b51c8b0d079a7...
Author: Huw Davies huw@codeweavers.com Date: Thu Jun 18 15:31:18 2009 +0100
gdi32: CBM_INIT is a flag.
---
dlls/gdi32/dib.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/dib.c b/dlls/gdi32/dib.c index 086eaae..3b1ba92 100644 --- a/dlls/gdi32/dib.c +++ b/dlls/gdi32/dib.c @@ -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) {