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:
Nikolay Sivov 2018-08-24 12:57:08 +03:00 committed by Alexandre Julliard
parent b55f568383
commit a570499165
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }
} }