From: Jacob Czekalla jczekalla@codeweavers.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=18382 --- dlls/comctl32/imagelist.c | 2 -- dlls/comctl32/tests/imagelist.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c index 49155e8d2c1..58de0befd7c 100644 --- a/dlls/comctl32/imagelist.c +++ b/dlls/comctl32/imagelist.c @@ -2196,8 +2196,6 @@ HIMAGELIST WINAPI ImageList_Read(IStream *pstm) return NULL; if (ilHead.usMagic != (('L' << 8) | 'I')) return NULL; - if (ilHead.usVersion != 0x101) /* probably version? */ - return NULL;
TRACE("cx %u, cy %u, flags 0x%04x, cCurImage %u, cMaxImage %u\n", ilHead.cx, ilHead.cy, ilHead.flags, ilHead.cCurImage, ilHead.cMaxImage); diff --git a/dlls/comctl32/tests/imagelist.c b/dlls/comctl32/tests/imagelist.c index 2417a535a31..a41a326b08e 100644 --- a/dlls/comctl32/tests/imagelist.c +++ b/dlls/comctl32/tests/imagelist.c @@ -2657,7 +2657,7 @@ static void test_ImageList_read_version(void) stream->lpVtbl->Seek(stream, large_int, 0, NULL); hImageList = pImageList_Read(stream); IStream_Release(stream); - todo_wine ok(hImageList != 0, "Failed to read imagelist from stream.\n"); + ok(hImageList != 0, "Failed to read imagelist from stream.\n"); pImageList_Destroy(hImageList); }