Commit 79ed5e0f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/listview: Fix some LVM_GETVIEWRECT test failures on different platforms.

parent c5c5bcca
...@@ -2497,9 +2497,10 @@ static void test_getviewrect(void) ...@@ -2497,9 +2497,10 @@ static void test_getviewrect(void)
r = SendMessage(hwnd, LVM_GETVIEWRECT, 0, (LPARAM)&rect); r = SendMessage(hwnd, LVM_GETVIEWRECT, 0, (LPARAM)&rect);
expect(TRUE, r); expect(TRUE, r);
expect(0, rect.left); expect(0, rect.left);
todo_wine expect(104, rect.right);
expect(0, rect.top); expect(0, rect.top);
expect(73, rect.bottom); /* precise value differs for 2k, XP and Vista */
ok(rect.bottom > 0, "Expected positive bottom value, got %d\n", rect.bottom);
ok(rect.right > 0, "Expected positive right value, got %d\n", rect.right);
DestroyWindow(hwnd); DestroyWindow(hwnd);
} }
......
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