mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
gdiplus: Add a test for 'value' pointer in the PropertyItem structure.
This commit is contained in:
parent
c7ea378f6a
commit
eb564a3160
1 changed files with 2 additions and 1 deletions
|
@ -3093,8 +3093,9 @@ static void test_tiff_properties(void)
|
|||
prop_item = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, prop_size);
|
||||
status = GdipGetPropertyItem(image, prop_id[i], prop_size, prop_item);
|
||||
expect(Ok, status);
|
||||
ok(prop_item->value == prop_item + 1, "expected item->value %p, got %p\n", prop_item + 1, prop_item->value);
|
||||
ok(td[i].type == prop_item->type ||
|
||||
/* Win7 stopped using proper but not documented types, and it's
|
||||
/* Win7 stopped using proper but not documented types, and it
|
||||
looks broken since TypeFloat and TypeDouble now reported as
|
||||
TypeUndefined, and signed types reported as unsigned. */
|
||||
broken(prop_item->type == documented_type(td[i].type)),
|
||||
|
|
Loading…
Reference in a new issue