Module: wine Branch: master Commit: 0640dbb62013a1d21e54e7b7564aae481db05236 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0640dbb62013a1d21e54e7b756...
Author: Stefan Leichter Stefan.Leichter@camline.com Date: Sat Feb 23 09:43:44 2008 +0100
user32: Fix a test of GetMouseMovePointsEx.
---
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 cf7602d..5d56f75 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((0 <= retval) && (retval <= count), "expected GetMouseMovePointsEx to succeed, got %d\n", retval); ok(MYERROR == GetLastError(), "expected error %d, got %u\n", MYERROR, GetLastError()); }