user32: Fix CopyImage implementation when changing cursor to icon.

This commit is contained in:
Daniel Jelinski 2013-02-08 20:19:47 +01:00 committed by Alexandre Julliard
parent 237ed21737
commit 59e0d7af68
1 changed files with 1 additions and 1 deletions

View File

@ -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 );