Stefan Leichter : user32: Fix a test of GetMouseMovePointsEx failing on platforms winxp and win2k3.

Alexandre Julliard julliard at winehq.org
Fri Feb 22 05:49:33 CST 2008


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

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Thu Feb 21 20:19:43 2008 +0100

user32: Fix a test of GetMouseMovePointsEx failing on platforms winxp and win2k3.

---

 dlls/user32/tests/input.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c
index c115907..cf7602d 100644
--- a/dlls/user32/tests/input.c
+++ b/dlls/user32/tests/input.c
@@ -768,7 +768,7 @@ static void test_GetMouseMovePointsEx(void)
     count = BUFLIM;
     retval = pGetMouseMovePointsEx(sizeof(MOUSEMOVEPOINT), &in, out, count, GMMP_USE_DISPLAY_POINTS);
     todo_wine {
-    ok(retval == count, "expected GetMouseMovePointsEx to succeed, got %d\n", retval);
+    ok(retval <= count, "expected GetMouseMovePointsEx to succeed, got %d\n", retval);
     ok(MYERROR == GetLastError(),
        "expected error %d, got %u\n", MYERROR, GetLastError());
     }




More information about the wine-cvs mailing list