Austin Lund : comctl32/listview: Fix test failures for subitem returned with negative coordinates.
Alexandre Julliard
julliard at winehq.org
Mon Sep 27 11:29:41 CDT 2010
Module: wine
Branch: master
Commit: 3fd940b2a123a6c7c3c351a8167bcc0c2e640522
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3fd940b2a123a6c7c3c351a8167bcc0c2e640522
Author: Austin Lund <austin.lund at 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);
More information about the wine-cvs
mailing list