Commit d553159e authored by Jan Zerebecki's avatar Jan Zerebecki Committed by Alexandre Julliard

user32: Fix to succeed reliably in test where it works by accident.

parent 0da02fb2
......@@ -1796,6 +1796,8 @@ HICON WINAPI CreateIconIndirect(PICONINFO iconinfo)
iconinfo->hbmColor, iconinfo->hbmMask,
iconinfo->xHotspot, iconinfo->yHotspot, iconinfo->fIcon);
if (!iconinfo->hbmMask) return 0;
if (iconinfo->hbmColor)
{
GetObjectW( iconinfo->hbmColor, sizeof(bmpXor), &bmpXor );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment