From 688623d3cb68f28344e5c1b4dd226a385ca7e8e1 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Fri, 22 Jun 2007 16:40:30 +0200 Subject: [PATCH] mscms/tests: Don't crash on Vista. --- dlls/mscms/tests/profile.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c index 3cf10730b4f..cdc6ea4c31c 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 */