[CLIPBRD]: Use NULL for null pointer.

[EVENTVWR]: Add folder icons (needed for later).

svn path=/trunk/; revision=71829
This commit is contained in:
Hermès Bélusca-Maïto 2016-07-05 23:42:40 +00:00
parent b8507bdc86
commit 103794988b
3 changed files with 2 additions and 2 deletions

View file

@ -256,12 +256,12 @@ static int ClipboardCommandHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM l
case CMD_ABOUT:
{
WCHAR szTitle[MAX_STRING_LEN];
HICON hIcon;
WCHAR szTitle[MAX_STRING_LEN];
hIcon = LoadIconW(Globals.hInstance, MAKEINTRESOURCE(CLIPBRD_ICON));
LoadStringW(Globals.hInstance, STRING_CLIPBOARD, szTitle, ARRAYSIZE(szTitle));
ShellAboutW(Globals.hMainWnd, szTitle, 0, hIcon);
ShellAboutW(Globals.hMainWnd, szTitle, NULL, hIcon);
DeleteObject(hIcon);
break;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB