Commit 76656994 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

comctl32/tests: Fix test failures on comctl32 < 5.80.

parent a9f91246
...@@ -426,8 +426,14 @@ static void test_updown_pos32(void) ...@@ -426,8 +426,14 @@ static void test_updown_pos32(void)
expect(0,low); expect(0,low);
expect(1000,high); expect(1000,high);
/* Set position to 500, don't check return since it is unset*/ /* Set position to 500 */
SendMessage(updown, UDM_SETPOS32, 0 , 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 */ /* Since UDM_SETBUDDYINT was not set at creation bRet will always be true as a return from UDM_GETPOS32 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment