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

Austin Lund austin.lund at gmail.com
Sun Sep 26 17:42:03 CDT 2010


First half to fix of bug 24514.
---
 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);
-- 
1.7.0.4




More information about the wine-patches mailing list