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