gdi32/tests: Fix a test failure on systems configured to use a color profile.
Hans Leidekker
hans at codeweavers.com
Fri Nov 26 07:03:01 CST 2010
---
dlls/gdi32/tests/icm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/tests/icm.c b/dlls/gdi32/tests/icm.c
index 16bec76..a1c4f97 100644
--- a/dlls/gdi32/tests/icm.c
+++ b/dlls/gdi32/tests/icm.c
@@ -217,7 +217,7 @@ static void test_EnumICMProfilesW( HDC dc )
ok(ret == -1 || broken(ret == 0) /* win9x, nt4 */, "expected -1, got %d\n", ret);
ret = EnumICMProfilesW( dc, enum_profiles_callbackW, 0 );
- ok(ret == -1 || broken(ret == 0) /* win9x, nt4 */, "expected -1, got %d\n", ret);
+ ok(ret == -1 || ret == 1 || broken(ret == 0) /* win9x, nt4 */, "expected -1, got %d\n", ret);
}
static void test_SetICMProfileA( HDC dc )
--
1.7.1
More information about the wine-patches
mailing list