Alexandre Julliard : gdi32/tests: Make sure the bitmap info is initialized in the GetDIBits test.

Alexandre Julliard julliard at winehq.org
Fri Aug 26 10:40:47 CDT 2011


Module: wine
Branch: master
Commit: 82ef9f960d6e02cef3498985995443e3ba2098b1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=82ef9f960d6e02cef3498985995443e3ba2098b1

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Aug 26 11:15:16 2011 +0200

gdi32/tests: Make sure the bitmap info is initialized in the GetDIBits test.

---

 dlls/gdi32/tests/bitmap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c
index 29f2c8c..7e3ddc9 100644
--- a/dlls/gdi32/tests/bitmap.c
+++ b/dlls/gdi32/tests/bitmap.c
@@ -3256,6 +3256,7 @@ static void test_GetDIBits_top_down(int bpp)
     int *picture;
     int statusCode;
 
+    memset( &bi, 0, sizeof(bi) );
     bi.bmiHeader.biSize=sizeof(bi.bmiHeader);
     bi.bmiHeader.biWidth=2;
     bi.bmiHeader.biHeight=2;




More information about the wine-cvs mailing list