[PATCH 1/2] comctl32/tests: LVM_GETRECTITEM should return TRUE
Austin Lund
austin.lund at gmail.com
Wed Sep 22 01:28:30 CDT 2010
---
dlls/comctl32/tests/listview.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 6ef82bb..4297e0b 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -3278,7 +3278,8 @@ static void test_getitemrect(void)
r = SendMessage(hwnd, LVM_INSERTITEMA, 0, (LPARAM)&item);
expect(0, r);
rect.left = LVIR_LABEL;
- SendMessage(hwnd, LVM_GETITEMRECT, 0, (LPARAM)&rect);
+ r = SendMessage(hwnd, LVM_GETITEMRECT, 0, (LPARAM)&rect);
+ expect(TRUE, r);
expect(0, rect.left);
expect(0, rect.top);
todo_wine expect(96, rect.right);
--
1.7.0.4
More information about the wine-patches
mailing list