Author: hbelusca
Date: Tue Jul 5 23:42:40 2016
New Revision: 71829
URL:
http://svn.reactos.org/svn/reactos?rev=71829&view=rev
Log:
[CLIPBRD]: Use NULL for null pointer.
[EVENTVWR]: Add folder icons (needed for later).
Added:
trunk/reactos/base/applications/mscutils/eventvwr/res/folder.ico
- copied unchanged from r71828,
trunk/reactos/base/applications/regedit/res/folder.ico
trunk/reactos/base/applications/mscutils/eventvwr/res/folderopen.ico
- copied unchanged from r71828,
trunk/reactos/base/applications/regedit/res/folderopen.ico
Modified:
trunk/reactos/base/applications/clipbrd/clipbrd.c
Modified: trunk/reactos/base/applications/clipbrd/clipbrd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/clipbrd/…
==============================================================================
--- trunk/reactos/base/applications/clipbrd/clipbrd.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/clipbrd/clipbrd.c [iso-8859-1] Tue Jul 5 23:42:40
2016
@@ -256,12 +256,12 @@
case CMD_ABOUT:
{
+ HICON hIcon;
WCHAR szTitle[MAX_STRING_LEN];
- HICON hIcon;
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;
}