mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +00:00
46b4b5581d
Taskmgr used a mixture: Sometimes _countof(), sometimes ARRAYSIZE() and sometimes it calculated the count plain by sizeof(var)/sizeof(TYPE). Harmonize everywhere to _countof() as it is the shortest solution. Fix some formatting sins, like placing comments before else-statement. Shorten the length of some very long line intentionally *without introducing additional linebreaks* ! Shorten vertical length of some functions to increase their chance to fit on the screen without scrolling. Fix wrong indentation level in TaskManagerWndProc(). *.rc: Remove superfluous and redundant comment in all langs No functional change intended.
18 lines
478 B
C
18 lines
478 B
C
/*
|
|
* PROJECT: ReactOS Task Manager
|
|
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
|
* PURPOSE: About Box.
|
|
* COPYRIGHT: Copyright 1999-2001 Brian Palmer <brianp@reactos.org>
|
|
*/
|
|
|
|
#include "precomp.h"
|
|
|
|
void OnAbout(void)
|
|
{
|
|
WCHAR szTaskmgr[128];
|
|
|
|
LoadStringW(hInst, IDS_APP_TITLE, szTaskmgr, _countof(szTaskmgr));
|
|
ShellAboutW(hMainWnd, szTaskmgr, NULL,
|
|
LoadIconW(hInst, MAKEINTRESOURCEW(IDI_TASKMANAGER)));
|
|
}
|