comctl32/listview: Fix test failures for subitem returned with negative coordinates.

This commit is contained in:
Austin Lund 2010-09-27 08:42:03 +10:00 committed by Alexandre Julliard
parent 5d657a106f
commit 3fd940b2a1
1 changed files with 1 additions and 1 deletions

View File

@ -3052,7 +3052,7 @@ static void test_hittest(void)
test_lvm_subitemhittest(hwnd, x, y, -1, -1, LVHT_NOWHERE, FALSE, FALSE, FALSE);
/* subitem returned with -1 item too */
x = pos.x + 150;
y = -10;
y = -1;
test_lvm_subitemhittest(hwnd, x, y, -1, 1, LVHT_NOWHERE, FALSE, FALSE, FALSE);
/* parent client area is 100x100 by default */
MoveWindow(hwnd, 0, 0, 300, 100, FALSE);