[PATCH] user32: Blit the right bitmap when stretching monochrome icons in CopyImage().
Zebediah Figura
z.figura12 at gmail.com
Mon May 24 17:11:06 CDT 2021
Fixes: beb70a79e1d92ddb10a552dcc6c06a4139365566
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
I only noticed this after it was committed :-(
dlls/user32/cursoricon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c
index a923f2f8315..a225303f80f 100644
--- a/dlls/user32/cursoricon.c
+++ b/dlls/user32/cursoricon.c
@@ -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 );
}
--
2.30.2
More information about the wine-devel
mailing list