From 7b11e537b0697c2e2523b388e7b9c2c13eb6c3bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vincent=20B=C3=A9ron?= Date: Fri, 16 Jan 2004 02:01:46 +0000 Subject: [PATCH] Get rid of a W->A cross call in ImageList_LoadImageW. --- dlls/comctl32/imagelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c index 78d33ab03de..dbcfb07eaf2 100644 --- a/dlls/comctl32/imagelist.c +++ b/dlls/comctl32/imagelist.c @@ -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 -- 2.11.4.GIT