From 0640dbb62013a1d21e54e7b7564aae481db05236 Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Sat, 23 Feb 2008 09:43:44 +0100 Subject: [PATCH] user32: Fix a test of GetMouseMovePointsEx. --- dlls/user32/tests/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c index cf7602dd483..5d56f7502fd 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()); } -- 2.11.4.GIT