comctl32/tests: Use the SendMessage instead of ListView_Scroll.
Michael Stefaniuc
mstefani at redhat.de
Thu Mar 25 18:22:22 CDT 2010
SendMessage() is more explicit and also gets rid of two gcc -Wextra
warning: value computed is not used
---
dlls/comctl32/tests/listview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index aa3db80..59c3dc1 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -2135,7 +2135,7 @@ todo_wine
expect(100, rect.left);
expect(250, rect.right);
- ListView_Scroll(hwnd, 10, 0);
+ SendMessage(hwnd, LVM_SCROLL, 10, 0);
rect.left = LVIR_BOUNDS;
rect.top = 1;
@@ -2145,7 +2145,7 @@ todo_wine
expect(90, rect.left);
expect(240, rect.right);
- ListView_Scroll(hwnd, -10, 0);
+ SendMessage(hwnd, LVM_SCROLL, -10, 0);
DestroyWindow(hwnd);
--
1.6.4.4
More information about the wine-patches
mailing list