Janitorial. Get rid of W->A call.
This commit is contained in:
parent
962b81d607
commit
e295d3996e
|
@ -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) {
|
||||
|
|
|
@ -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] = "";
|
||||
|
|
Loading…
Reference in New Issue