Commit 3fd940b2 authored by Austin Lund's avatar Austin Lund Committed by Alexandre Julliard

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

parent 5d657a10
......@@ -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);
......
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