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;
|
BITMAP bmp;
|
||||||
|
|
||||||
GetIconInfo (handle, &ii);
|
GetIconInfo (handle, &ii);
|
||||||
GetObjectA (ii.hbmMask, sizeof(BITMAP), (LPVOID)&bmp);
|
GetObjectW (ii.hbmMask, sizeof(BITMAP), (LPVOID)&bmp);
|
||||||
himl = ImageList_Create (bmp.bmWidth, bmp.bmHeight,
|
himl = ImageList_Create (bmp.bmWidth, bmp.bmHeight,
|
||||||
ILC_MASK | ILC_COLOR, 1, cGrow);
|
ILC_MASK | ILC_COLOR, 1, cGrow);
|
||||||
if (!himl) {
|
if (!himl) {
|
||||||
|
|
|
@ -2502,7 +2502,7 @@ BOOL WINAPI PrintDlgW(
|
||||||
{
|
{
|
||||||
BOOL bRet = FALSE;
|
BOOL bRet = FALSE;
|
||||||
LPVOID ptr;
|
LPVOID ptr;
|
||||||
HINSTANCE hInst = (HINSTANCE)GetWindowLongA( lppd->hwndOwner, GWL_HINSTANCE );
|
HINSTANCE hInst = (HINSTANCE)GetWindowLongW( lppd->hwndOwner, GWL_HINSTANCE );
|
||||||
|
|
||||||
if(TRACE_ON(commdlg)) {
|
if(TRACE_ON(commdlg)) {
|
||||||
char flagstr[1000] = "";
|
char flagstr[1000] = "";
|
||||||
|
|
Loading…
Reference in New Issue