[PATCH 1/2] user32/tests/cursoricon: use non-zero for reserved fields in BMP fileheader

Wolfram Sang wolfram at the-dreams.de
Sun Apr 25 18:13:36 CDT 2010


They are often 0, but that's not a requirement. Let's do a stresstest.

Signed-off-by: Wolfram Sang <wolfram at the-dreams.de>
---
 dlls/user32/tests/cursoricon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/tests/cursoricon.c b/dlls/user32/tests/cursoricon.c
index eb22ce4..c1da70d 100644
--- a/dlls/user32/tests/cursoricon.c
+++ b/dlls/user32/tests/cursoricon.c
@@ -700,7 +700,7 @@ static const unsigned char pngimage[285] = {
 
 /* 1x1 pixel bmp */
 static const unsigned char bmpimage[66] = {
-0x42,0x4d,0x42,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3e,0x00,0x00,0x00,0x28,0x00,
+0x42,0x4d,0x42,0x00,0x00,0x00,0xDE,0xAD,0xBE,0xEF,0x3e,0x00,0x00,0x00,0x28,0x00,
 0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,
 0x00,0x00,0x04,0x00,0x00,0x00,0x12,0x0b,0x00,0x00,0x12,0x0b,0x00,0x00,0x02,0x00,
 0x00,0x00,0x02,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0xff,0xff,0xff,0x00,0x00,0x00,
-- 
1.7.0




More information about the wine-patches mailing list