From 7665699411a0a3b1cd7444d9d6e2035f1d007b1a Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Thu, 25 Jun 2009 11:49:14 +0200 Subject: [PATCH] comctl32/tests: Fix test failures on comctl32 < 5.80. --- dlls/comctl32/tests/updown.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/tests/updown.c b/dlls/comctl32/tests/updown.c index 433c190ae9..f2b3cc28c0 100644 --- a/dlls/comctl32/tests/updown.c +++ b/dlls/comctl32/tests/updown.c @@ -426,8 +426,14 @@ static void test_updown_pos32(void) expect(0,low); expect(1000,high); - /* Set position to 500, don't check return since it is unset*/ - SendMessage(updown, UDM_SETPOS32, 0 , 500 ); + /* Set position to 500 */ + r = SendMessage(updown, UDM_SETPOS32, 0 , 500 ); + if (!r) + { + win_skip("UDM_SETPOS32 and UDM_GETPOS32 need 5.80\n"); + return; + } + expect(100,r); /* As set by test_updown_pos() */ /* Since UDM_SETBUDDYINT was not set at creation bRet will always be true as a return from UDM_GETPOS32 */ -- 2.32.0.93.g670b81a890