commit | 3742389d457c3b51c8b0d079a7290048bde53559 | [log] [tgz] |
---|---|---|
author | Huw Davies <huw@codeweavers.com> | Thu Jun 18 15:31:18 2009 +0100 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Jun 22 14:32:28 2009 +0200 |
tree | 95415d548ce4ae534a95f17efb5b1306fcd37e8a | |
parent | 03584b4ff6392f259a2f046cdf11b7976062b55e [diff] [blame] |
gdi32: CBM_INIT is a flag.
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 @@ if (handle) { - if (init == CBM_INIT) + if (init & CBM_INIT) { if (SetDIBits( hdc, handle, 0, height, bits, data, coloruse ) == 0) {