Austin Lund : comctl32/tests: LVM_GETRECTITEM should return TRUE.

Alexandre Julliard julliard at winehq.org
Wed Sep 22 14:47:52 CDT 2010


Module: wine
Branch: master
Commit: 3836e62ed8d44e73892bb30cb80a2d9bd9f6a7d9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3836e62ed8d44e73892bb30cb80a2d9bd9f6a7d9

Author: Austin Lund <austin.lund at gmail.com>
Date:   Wed Sep 22 16:28:30 2010 +1000

comctl32/tests: LVM_GETRECTITEM should return TRUE.

---

 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);




More information about the wine-cvs mailing list