Module: wine Branch: master Commit: 99a5afa616eb6a01b0c91e8dd8fd9326b4ea1863 URL: http://source.winehq.org/git/wine.git/?a=commit;h=99a5afa616eb6a01b0c91e8dd8...
Author: James Hawkins jhawkins@codeweavers.com Date: Tue Sep 2 22:43:39 2008 -0500
comctl32: Fix a failing test in win9x.
---
dlls/comctl32/tests/listview.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c index 2e00e67..805a48a 100644 --- a/dlls/comctl32/tests/listview.c +++ b/dlls/comctl32/tests/listview.c @@ -735,7 +735,9 @@ static void test_columns(void)
/* Check its width */ rc = ListView_GetColumnWidth(hwnd, 0); - ok(rc==10, "Inserting column with no mask failed to set width to 10 with %d\n", rc); + ok(rc==10 || + broken(rc==0), /* win9x */ + "Inserting column with no mask failed to set width to 10 with %d\n", rc);
DestroyWindow(hwnd); }