Commit 58cdb640 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

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

parent 8a29a4a6
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment