gdi32/tests: Accept one more return value from EnumICMProfilesA.

This commit is contained in:
Hans Leidekker 2011-08-24 10:23:21 +02:00 committed by Alexandre Julliard
parent 8a29a4a667
commit 58cdb6405f
1 changed files with 3 additions and 3 deletions

View File

@ -184,8 +184,8 @@ static void test_EnumICMProfilesA( HDC dc )
ok(ret == -1 || broken(ret == 0) /* nt4 */, "expected -1, got %d\n", ret);
ret = EnumICMProfilesA( dc, enum_profiles_callbackA, 0 );
ok(ret == -1 || broken(ret == 0) /* nt4 */,
"expected -1, got %d\n", ret);
ok(ret == -1 || ret == 1 || broken(ret == 0) /* nt4 */,
"expected -1 or 1, got %d\n", ret);
ret = EnumICMProfilesA( dc, NULL, 0 );
ok(ret == -1 || broken(ret == 0) /* nt4 */, "expected -1, got %d\n", ret);
@ -207,7 +207,7 @@ static void test_EnumICMProfilesW( HDC dc )
ok(ret == -1 || broken(ret == 0) /* NT4 */, "expected -1, got %d\n", ret);
ret = EnumICMProfilesW( dc, enum_profiles_callbackW, 0 );
ok(ret == -1 || ret == 1 || broken(ret == 0) /* NT4 */, "expected -1, got %d\n", ret);
ok(ret == -1 || ret == 1 || broken(ret == 0) /* NT4 */, "expected -1 or 1, got %d\n", ret);
}
static void test_SetICMProfileA( HDC dc )