From 463a655c4a6b0e0962366552845ff6f2a5a6d75b Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Mon, 18 Jul 2005 09:08:43 +0000 Subject: [PATCH] Set size before calling pSetColorProfileElement. --- dlls/mscms/tests/profile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c index b4eef19b4e..266afcf443 100644 --- a/dlls/mscms/tests/profile.c +++ b/dlls/mscms/tests/profile.c @@ -823,6 +823,8 @@ static void test_SetColorProfileElement(void) /* Functional checks */ + size = sizeof(data); + ret = pSetColorProfileElement( handle, tag, 0, &size, data ); ok( ret, "SetColorProfileElement() failed (%ld)\n", GetLastError() );