don't cast HBITMAP to HICON in when type is IMAGE_BITMAP

svn path=/trunk/; revision=26386
This commit is contained in:
Christoph von Wittich 2007-04-18 00:55:04 +00:00
parent 1f00c50b85
commit 4f58b4d38e

View file

@ -763,7 +763,7 @@ CopyImage(
}
}
HeapFree(GetProcessHeap(), 0, bi);
return (HICON)res;
return res;
}
case IMAGE_ICON:
{