Commit 688623d3 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

mscms/tests: Don't crash on Vista.

parent 2f4b9e42
......@@ -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 */
......
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