Author: akhaldi
Date: Wed Oct 22 16:51:25 2014
New Revision: 64893
URL:
http://svn.reactos.org/svn/reactos?rev=64893&view=rev
Log:
[TASKMGR]
* Minor style changes in wWinMain.
Modified:
trunk/reactos/base/applications/taskmgr/taskmgr.c
Modified: trunk/reactos/base/applications/taskmgr/taskmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/taskmgr.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/taskmgr.c [iso-8859-1] Wed Oct 22 16:51:25
2014
@@ -152,9 +152,10 @@
*/
/* Get a token for this process. */
- if (OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
&hToken)) {
+ if (OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
&hToken))
+ {
/* Get the LUID for the debug privilege. */
- if(LookupPrivilegeValueW(NULL, SE_DEBUG_NAME, &tkp.Privileges[0].Luid))
+ if (LookupPrivilegeValueW(NULL, SE_DEBUG_NAME, &tkp.Privileges[0].Luid))
{
tkp.PrivilegeCount = 1; /* one privilege to set */
tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
@@ -169,7 +170,8 @@
LoadSettings();
/* Initialize perf data */
- if (!PerfDataInitialize()) {
+ if (!PerfDataInitialize())
+ {
return -1;
}