Commit 7b11e537 authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

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

parent 82ceaca3
...@@ -1652,7 +1652,7 @@ ImageList_LoadImageW (HINSTANCE hi, LPCWSTR lpbmp, INT cx, INT cGrow, ...@@ -1652,7 +1652,7 @@ ImageList_LoadImageW (HINSTANCE hi, LPCWSTR lpbmp, INT cx, INT cGrow,
if (uType == IMAGE_BITMAP) { if (uType == IMAGE_BITMAP) {
BITMAP bmp; BITMAP bmp;
GetObjectA (handle, sizeof(BITMAP), &bmp); GetObjectW (handle, sizeof(BITMAP), &bmp);
/* To match windows behavior, if cx is set to zero and /* To match windows behavior, if cx is set to zero and
the flag DI_DEFAULTSIZE is specified, cx becomes the the flag DI_DEFAULTSIZE is specified, cx becomes the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment