From 47ed5655c5c0b9a1fcd3f5db807e6573dcd60378 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 28 Apr 2014 14:36:43 +0200 Subject: [PATCH] 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 aa2be7042ef..39ca4546220 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++) {