Module: wine Branch: master Commit: 72f55763f696d0f84731e8af25f3ce6e159e3b0e URL: http://source.winehq.org/git/wine.git/?a=commit;h=72f55763f696d0f84731e8af25...
Author: James Hawkins jhawkins@codeweavers.com Date: Thu Aug 28 21:18:17 2008 -0500
comctl32: Fix a test failure in win98.
---
dlls/comctl32/tests/dpa.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/tests/dpa.c b/dlls/comctl32/tests/dpa.c index 552387f..ae7fcb3 100644 --- a/dlls/comctl32/tests/dpa.c +++ b/dlls/comctl32/tests/dpa.c @@ -363,7 +363,9 @@ static void test_dpa(void) rc=CheckDPA(dpa, 0x123456, &dw); ok(rc, "dw=0x%x\n", dw); rc=CheckDPA(dpa2, 0x123456, &dw2); - ok(rc, "dw2=0x%x\n", dw2); + ok(rc || + broken(!rc), /* win98 */ + "dw2=0x%x\n", dw2); rc=CheckDPA(dpa3, 0x123456, &dw3); ok(rc, "dw3=0x%x\n", dw3); }