Set size before calling pSetColorProfileElement.
This commit is contained in:
parent
305ce2f641
commit
463a655c4a
|
@ -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() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue