Get rid of a W->A cross call in ImageList_LoadImageW.

This commit is contained in:
Vincent Béron 2004-01-16 02:01:46 +00:00 committed by Alexandre Julliard
parent 82ceaca3ec
commit 7b11e537b0
1 changed files with 1 additions and 1 deletions

View File

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