7 Aug
2023
7 Aug
'23
8:29 p.m.
Esme Povirk (@madewokherd) commented about dlls/gdiplus/tests/image.c:
+ + status = GdipGetPropertyIdList(image, prop_count, prop_id); + expect(Ok, status); + + if (prop_size) + *prop_size = 0; + + for (i = 0; i < prop_count; i++) + { + winetest_push_context("prop %u", i); + + status = GdipGetPropertyItemSize(image, prop_id[i], &size); + expect(Ok, status); + if (status != Ok) + break; + ok(size > sizeof(*prop_item), "%u: too small item length %u\n", i, size); `i` should already be shown via winetest_push_context.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3524#note_41527