user32: IDI_WINLOGO is already an int resource (PVS-Studio).
This commit is contained in:
parent
54d3816eb8
commit
63174c2f36
|
@ -866,7 +866,8 @@ static BOOL MDI_AugmentFrameMenu( HWND frame, HWND hChild )
|
|||
if (!hIcon)
|
||||
hIcon = (HICON)SendMessageW(hChild, WM_GETICON, ICON_BIG, 0);
|
||||
if (!hIcon)
|
||||
hIcon = LoadImageW(0, MAKEINTRESOURCEW(IDI_WINLOGO), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), LR_DEFAULTCOLOR);
|
||||
hIcon = LoadImageW(0, (LPWSTR)IDI_WINLOGO, IMAGE_ICON, GetSystemMetrics(SM_CXSMICON),
|
||||
GetSystemMetrics(SM_CYSMICON), LR_DEFAULTCOLOR);
|
||||
if (hIcon)
|
||||
{
|
||||
HDC hMemDC;
|
||||
|
|
Loading…
Reference in New Issue