Module: wine Branch: master Commit: 47ed5655c5c0b9a1fcd3f5db807e6573dcd60378 URL: http://source.winehq.org/git/wine.git/?a=commit;h=47ed5655c5c0b9a1fcd3f5db80...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Apr 28 14:36:43 2014 +0200
gdi32/tests: Don't fetch the bits into the DIB itself.
---
dlls/gdi32/tests/bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c index aa2be70..39ca454 100644 --- a/dlls/gdi32/tests/bitmap.c +++ b/dlls/gdi32/tests/bitmap.c @@ -838,7 +838,7 @@ static void test_dibsections(void) } pbmi->bmiHeader.biClrUsed = 173; memset( pbmi->bmiColors, 0xcc, 256 * sizeof(RGBQUAD) ); - GetDIBits( hdc, hdib, 0, 1, bits, pbmi, DIB_RGB_COLORS ); + GetDIBits( hdc, hdib, 0, 1, NULL, pbmi, DIB_RGB_COLORS ); ok( pbmi->bmiHeader.biClrUsed == 0, "wrong colors %u\n", pbmi->bmiHeader.biClrUsed ); for (i = 0; i < 256; i++) {