Module: wine Branch: master Commit: 3fd940b2a123a6c7c3c351a8167bcc0c2e640522 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3fd940b2a123a6c7c3c351a816...
Author: Austin Lund austin.lund@gmail.com Date: Mon Sep 27 08:42:03 2010 +1000
comctl32/listview: Fix test failures for subitem returned with negative coordinates.
---
dlls/comctl32/tests/listview.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c index 3f02f6b..de7369c 100644 --- a/dlls/comctl32/tests/listview.c +++ b/dlls/comctl32/tests/listview.c @@ -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);