Janitorial. Get rid of W->A call.

This commit is contained in:
Tony Lambregts 2003-03-06 22:43:43 +00:00 committed by Alexandre Julliard
parent 962b81d607
commit e295d3996e
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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] = "";