comctl32/tests: Fix test failures on XP.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b55f568383
commit
a570499165
|
@ -2225,8 +2225,8 @@ static void _check_item(HWND hwnd, HTREEITEM item, BOOL is_version_6, int line)
|
||||||
else
|
else
|
||||||
width = data->width;
|
width = data->width;
|
||||||
todo_wine
|
todo_wine
|
||||||
ok_(__FILE__, line)(width == (rect.right - rect.left), "Width %d, rect width %d.\n",
|
ok_(__FILE__, line)(width == (rect.right - rect.left) || broken(is_version_6 && width == 0) /* XP */,
|
||||||
width, rect.right - rect.left);
|
"Width %d, rect width %d.\n", width, rect.right - rect.left);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue