[PATCH] Fix some test failures on Win95 and NT4
Paul Vriens
Paul.Vriens.Wine at gmail.com
Mon Aug 10 01:53:06 CDT 2009
---
dlls/comdlg32/tests/filedlg.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/comdlg32/tests/filedlg.c b/dlls/comdlg32/tests/filedlg.c
index cb9508e..16ced62 100644
--- a/dlls/comdlg32/tests/filedlg.c
+++ b/dlls/comdlg32/tests/filedlg.c
@@ -770,10 +770,12 @@ static LONG_PTR WINAPI template_hook_arrange(HWND dlgChild, UINT msg, WPARAM wPa
"Wrong width of dialog %d, expected %d\n",
wrcParent.right - wrcParent.left, expectx);
} else todo_wine {
- ok( wrcParent.bottom - wrcParent.top > expecty,
+ ok( wrcParent.bottom - wrcParent.top > expecty ||
+ broken(wrcParent.bottom - wrcParent.top == expecty), /* Win95 and NT4 */
"Wrong height of dialog %d, expected more than %d\n",
wrcParent.bottom - wrcParent.top, expecty);
- ok( wrcParent.right - wrcParent.left > expectx,
+ ok( wrcParent.right - wrcParent.left > expectx ||
+ broken(wrcParent.right - wrcParent.left == expectx), /* Win95 and NT4 */
"Wrong width of dialog %d, expected more than %d\n",
wrcParent.right - wrcParent.left, expectx);
}
--
1.6.0.6
--------------090203080306050001060909--
More information about the wine-patches
mailing list