mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Get rid of a W->A cross call in ImageList_LoadImageW.
This commit is contained in:
parent
82ceaca3ec
commit
7b11e537b0
@ -1652,7 +1652,7 @@ ImageList_LoadImageW (HINSTANCE hi, LPCWSTR lpbmp, INT cx, INT cGrow,
|
||||
|
||||
if (uType == IMAGE_BITMAP) {
|
||||
BITMAP bmp;
|
||||
GetObjectA (handle, sizeof(BITMAP), &bmp);
|
||||
GetObjectW (handle, sizeof(BITMAP), &bmp);
|
||||
|
||||
/* To match windows behavior, if cx is set to zero and
|
||||
the flag DI_DEFAULTSIZE is specified, cx becomes the
|
||||
|
Loading…
Reference in New Issue
Block a user