Janitorial dlls/comctl32/imagelist.c W->A cleanup

Tony Lambregts tony_lambregts at telusplanet.net
Wed Mar 5 22:11:55 CST 2003


Change Log: Janitorial. Get rid of W->A call

Files Changed: dlls/comctl32/imagelist.c

-- 

Tony Lambregts

-------------- next part --------------
Index: imagelist.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/imagelist.c,v
retrieving revision 1.70
diff -u -r1.70 imagelist.c
--- imagelist.c	4 Jan 2003 00:19:17 -0000	1.70
+++ imagelist.c	6 Mar 2003 04:17:37 -0000
@@ -1735,7 +1735,7 @@
         BITMAP bmp;
 
         GetIconInfo (handle, &ii);
-        GetObjectA (ii.hbmMask, sizeof(BITMAP), (LPVOID)&bmp);
+        GetObjectW (ii.hbmMask, sizeof(BITMAP), (LPVOID)&bmp);
         himl = ImageList_Create (bmp.bmWidth, bmp.bmHeight,
                                  ILC_MASK | ILC_COLOR, 1, cGrow);
         if (!himl) {


More information about the wine-patches mailing list