Paul Vriens : mscms/tests: Don't crash on Vista.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 25 07:28:04 CDT 2007
Module: wine
Branch: master
Commit: 688623d3cb68f28344e5c1b4dd226a385ca7e8e1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=688623d3cb68f28344e5c1b4dd226a385ca7e8e1
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Fri Jun 22 16:40:30 2007 +0200
mscms/tests: Don't crash on Vista.
---
dlls/mscms/tests/profile.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c
index 3cf1073..cdc6ea4 100644
--- a/dlls/mscms/tests/profile.c
+++ b/dlls/mscms/tests/profile.c
@@ -394,8 +394,11 @@ static void test_GetColorProfileHeader(void)
ret = pGetColorProfileHeader( NULL, &header );
ok( !ret, "GetColorProfileHeader() succeeded (%d)\n", GetLastError() );
- ret = pGetColorProfileHeader( handle, NULL );
- ok( !ret, "GetColorProfileHeader() succeeded (%d)\n", GetLastError() );
+ if (0) /* Crashes on Vista */
+ {
+ ret = pGetColorProfileHeader( handle, NULL );
+ ok( !ret, "GetColorProfileHeader() succeeded (%d)\n", GetLastError() );
+ }
/* Functional checks */
More information about the wine-cvs
mailing list