From e295d3996ef6e0873d6a673a6c28f96f155f333d Mon Sep 17 00:00:00 2001 From: Tony Lambregts Date: Thu, 6 Mar 2003 22:43:43 +0000 Subject: [PATCH] Janitorial. Get rid of W->A call. --- dlls/comctl32/imagelist.c | 2 +- dlls/commdlg/printdlg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c index ce14c34ba43..059c4e04295 100644 --- a/dlls/comctl32/imagelist.c +++ b/dlls/comctl32/imagelist.c @@ -1735,7 +1735,7 @@ ImageList_LoadImageW (HINSTANCE hi, LPCWSTR lpbmp, INT cx, INT cGrow, 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) { diff --git a/dlls/commdlg/printdlg.c b/dlls/commdlg/printdlg.c index dee146b1566..4bc97a0146c 100644 --- a/dlls/commdlg/printdlg.c +++ b/dlls/commdlg/printdlg.c @@ -2502,7 +2502,7 @@ BOOL WINAPI PrintDlgW( { BOOL bRet = FALSE; LPVOID ptr; - HINSTANCE hInst = (HINSTANCE)GetWindowLongA( lppd->hwndOwner, GWL_HINSTANCE ); + HINSTANCE hInst = (HINSTANCE)GetWindowLongW( lppd->hwndOwner, GWL_HINSTANCE ); if(TRACE_ON(commdlg)) { char flagstr[1000] = "";