Commit d8213b46 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

comctl32/tests: Don't accept Win95 behavior.

parent af27b039
...@@ -771,18 +771,10 @@ static void check_ilhead_data(const char *ilh_data, INT cx, INT cy, INT cur, INT ...@@ -771,18 +771,10 @@ static void check_ilhead_data(const char *ilh_data, INT cx, INT cy, INT cur, INT
ok(ilh->cy == cy, "wrong cy %d (expected %d)\n", ilh->cy, cy); ok(ilh->cy == cy, "wrong cy %d (expected %d)\n", ilh->cy, cy);
ok(ilh->bkcolor == CLR_NONE, "wrong bkcolor %x\n", ilh->bkcolor); ok(ilh->bkcolor == CLR_NONE, "wrong bkcolor %x\n", ilh->bkcolor);
ok(ilh->flags == ILC_COLOR24, "wrong flags %04x\n", ilh->flags); ok(ilh->flags == ILC_COLOR24, "wrong flags %04x\n", ilh->flags);
ok(ilh->ovls[0] == -1 || ok(ilh->ovls[0] == -1, "wrong ovls[0] %04x\n", ilh->ovls[0]);
ilh->ovls[0] == 0, /* win95 */ ok(ilh->ovls[1] == -1, "wrong ovls[1] %04x\n", ilh->ovls[1]);
"wrong ovls[0] %04x\n", ilh->ovls[0]); ok(ilh->ovls[2] == -1, "wrong ovls[2] %04x\n", ilh->ovls[2]);
ok(ilh->ovls[1] == -1 || ok(ilh->ovls[3] == -1, "wrong ovls[3] %04x\n", ilh->ovls[3]);
ilh->ovls[1] == 0, /* win95 */
"wrong ovls[1] %04x\n", ilh->ovls[1]);
ok(ilh->ovls[2] == -1 ||
ilh->ovls[2] == 0, /* win95 */
"wrong ovls[2] %04x\n", ilh->ovls[2]);
ok(ilh->ovls[3] == -1 ||
ilh->ovls[3] == 0, /* win95 */
"wrong ovls[3] %04x\n", ilh->ovls[3]);
} }
static HBITMAP create_bitmap(INT cx, INT cy, COLORREF color, const char *comment) static HBITMAP create_bitmap(INT cx, INT cy, COLORREF color, const char *comment)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment