comctl32/tests: Fix incorrect usage of broken() function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f89c3d58df
commit
88bf73abb2
|
@ -289,7 +289,7 @@ static void test_status_control(void)
|
||||||
expect(5,LOWORD(r));
|
expect(5,LOWORD(r));
|
||||||
expect(SBT_POPOUT,HIWORD(r));
|
expect(SBT_POPOUT,HIWORD(r));
|
||||||
r = SendMessageW(hWndStatus, WM_GETTEXTLENGTH, 0, 0);
|
r = SendMessageW(hWndStatus, WM_GETTEXTLENGTH, 0, 0);
|
||||||
ok(r == 5 || broken(0x02000005 /* NT4 */), "Expected 5, got %d\n", r);
|
ok(r == 5, "Expected 5, got %d\n", r);
|
||||||
r = SendMessageA(hWndStatus, SB_GETTEXTLENGTHA, 1, 0);
|
r = SendMessageA(hWndStatus, SB_GETTEXTLENGTHA, 1, 0);
|
||||||
expect(0,LOWORD(r));
|
expect(0,LOWORD(r));
|
||||||
expect(SBT_OWNERDRAW,HIWORD(r));
|
expect(SBT_OWNERDRAW,HIWORD(r));
|
||||||
|
|
Loading…
Reference in New Issue