Huw Davies : gdi32: CBM_INIT is a flag.
Alexandre Julliard
julliard at winehq.org
Mon Jun 22 09:04:20 CDT 2009
Module: wine
Branch: master
Commit: 3742389d457c3b51c8b0d079a7290048bde53559
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3742389d457c3b51c8b0d079a7290048bde53559
Author: Huw Davies <huw at 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)
{
More information about the wine-cvs
mailing list