Module: wine Branch: master Commit: 921f67a607377c6548796a533a2438efba96b934 URL: http://source.winehq.org/git/wine.git/?a=commit;h=921f67a607377c6548796a533a...
Author: James Hawkins jhawkins@codeweavers.com Date: Wed Sep 24 03:03:28 2008 -0500
comctl32: Fix a failing test in win95.
---
dlls/comctl32/tests/status.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/tests/status.c b/dlls/comctl32/tests/status.c index 0418c8d..fcdd953 100644 --- a/dlls/comctl32/tests/status.c +++ b/dlls/comctl32/tests/status.c @@ -376,7 +376,9 @@ static void test_status_control(void) /* Make simple */ SendMessage(hWndStatus, SB_SIMPLE, TRUE, 0); r = SendMessage(hWndStatus, SB_ISSIMPLE, 0, 0); - expect(TRUE,r); + ok(r == TRUE || + broken(r == FALSE), /* win95 */ + "Expected TRUE, got %d\n", r);
DestroyWindow(hWndStatus); }