mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:42:57 +00:00
[CLIPBRD]: Use NULL for null pointer.
[EVENTVWR]: Add folder icons (needed for later). svn path=/trunk/; revision=71829
This commit is contained in:
parent
b8507bdc86
commit
103794988b
3 changed files with 2 additions and 2 deletions
|
@ -256,12 +256,12 @@ static int ClipboardCommandHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM l
|
||||||
|
|
||||||
case CMD_ABOUT:
|
case CMD_ABOUT:
|
||||||
{
|
{
|
||||||
WCHAR szTitle[MAX_STRING_LEN];
|
|
||||||
HICON hIcon;
|
HICON hIcon;
|
||||||
|
WCHAR szTitle[MAX_STRING_LEN];
|
||||||
|
|
||||||
hIcon = LoadIconW(Globals.hInstance, MAKEINTRESOURCE(CLIPBRD_ICON));
|
hIcon = LoadIconW(Globals.hInstance, MAKEINTRESOURCE(CLIPBRD_ICON));
|
||||||
LoadStringW(Globals.hInstance, STRING_CLIPBOARD, szTitle, ARRAYSIZE(szTitle));
|
LoadStringW(Globals.hInstance, STRING_CLIPBOARD, szTitle, ARRAYSIZE(szTitle));
|
||||||
ShellAboutW(Globals.hMainWnd, szTitle, 0, hIcon);
|
ShellAboutW(Globals.hMainWnd, szTitle, NULL, hIcon);
|
||||||
DeleteObject(hIcon);
|
DeleteObject(hIcon);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
BIN
reactos/base/applications/mscutils/eventvwr/res/folder.ico
Normal file
BIN
reactos/base/applications/mscutils/eventvwr/res/folder.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
BIN
reactos/base/applications/mscutils/eventvwr/res/folderopen.ico
Normal file
BIN
reactos/base/applications/mscutils/eventvwr/res/folderopen.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue