Commit 59e0d7af authored by Daniel Jelinski's avatar Daniel Jelinski Committed by Alexandre Julliard

user32: Fix CopyImage implementation when changing cursor to icon.

parent 237ed217
......@@ -2873,7 +2873,7 @@ HANDLE WINAPI CopyImage( HANDLE hnd, UINT type, INT desiredx,
if (icon->rsrc && (flags & LR_COPYFROMRESOURCE))
res = CURSORICON_Load( icon->module, icon->resname, desiredx, desiredy, depth,
type == IMAGE_CURSOR, flags );
!icon->is_icon, flags );
else
res = CopyIcon( hnd ); /* FIXME: change size if necessary */
release_icon_ptr( hnd, icon );
......
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