21 Aug
2023
21 Aug
'23
6:25 p.m.
Bartosz Kosiorek (@gang65) commented about dlls/gdiplus/image.c:
TRACE("%p, %p\n", hicon, bitmap);
- if(!bitmap || !GetIconInfo(hicon, &iinfo)) + if(!bitmap || !GetIconInfo(hicon, &iinfo) || !iinfo.hbmColor)
We should also check if `iinfo.fIcon` is true and cover it with test case -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3621#note_42895