Set size before calling pSetColorProfileElement.

This commit is contained in:
Paul Vriens 2005-07-18 09:08:43 +00:00 committed by Alexandre Julliard
parent 305ce2f641
commit 463a655c4a
1 changed files with 2 additions and 0 deletions

View File

@ -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() );