user32: Fix CopyImage implementation when changing cursor to icon.
This commit is contained in:
parent
237ed21737
commit
59e0d7af68
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue