Hans Leidekker : gdi32/tests: Fix a test failure on systems configured to use a color profile.
Module: wine Branch: master Commit: 24ce163a8bc75cd5725434858bb0561dfce5779e URL: http://source.winehq.org/git/wine.git/?a=commit;h=24ce163a8bc75cd5725434858b... Author: Hans Leidekker <hans(a)codeweavers.com> Date: Fri Nov 26 14:03:01 2010 +0100 gdi32/tests: Fix a test failure on systems configured to use a color profile. --- 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 )
participants (1)
-
Alexandre Julliard