user32: Blit the right bitmap when stretching monochrome icons in CopyImage().

Fixes: beb70a79e1
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-05-24 17:11:06 -05:00 committed by Alexandre Julliard
parent 94eb8d3646
commit d2259665b4
1 changed files with 1 additions and 1 deletions

View File

@ -3024,7 +3024,7 @@ HANDLE WINAPI CopyImage( HANDLE hnd, UINT type, INT desiredx,
release_user_handle_ptr( icon );
return 0;
}
stretch_bitmap( info.hbmColor, frame->color, desiredx, desiredy * 2,
stretch_bitmap( info.hbmMask, frame->mask, desiredx, desiredy * 2,
frame->width, frame->height * 2 );
}