Skip to content

Commit

Permalink
[CLIPBRD]: Use NULL for null pointer.
Browse files Browse the repository at this point in the history
[EVENTVWR]: Add folder icons (needed for later).

svn path=/trunk/; revision=71829
  • Loading branch information
HBelusca committed Jul 5, 2016
1 parent b8507bd commit 1037949
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reactos/base/applications/clipbrd/clipbrd.c
Expand Up @@ -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;
}
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 1037949

Please sign in to comment.