[mscms/tests/profile.c] Add another possible error
Paul Vriens
Paul.Vriens at xs4all.nl
Sun Dec 11 12:14:17 CST 2005
Hi,
GetStandardColorSpaceProfile with a non-NULL machinename will return
ERROR_NOT_SUPPORTED on 2000/WinXP/2003 (and maybe more).
Changelog
Add another possible error.
Cheers,
Paul.
diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c
index c19268d..5b0d86f 100644
--- a/dlls/mscms/tests/profile.c
+++ b/dlls/mscms/tests/profile.c
@@ -459,7 +459,7 @@ static void test_GetStandardColorSpacePr
ret = pGetStandardColorSpaceProfileA( machine, 0, newprofile, &size );
GLE = GetLastError();
todo_wine
- ok( !ret && GLE == ERROR_INVALID_PARAMETER,
+ ok( !ret && (GLE == ERROR_INVALID_PARAMETER || GLE == ERROR_NOT_SUPPORTED),
"GetStandardColorSpaceProfileA() returns %d (GLE=%ld)\n", ret, GLE );
size = 0;
More information about the wine-patches
mailing list