From f47eeb21abe47b5f92b59882b44233adb309f53e Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 22 Oct 2014 16:51:25 +0000 Subject: [PATCH] [TASKMGR] * Minor style changes in wWinMain. svn path=/trunk/; revision=64893 --- reactos/base/applications/taskmgr/taskmgr.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/reactos/base/applications/taskmgr/taskmgr.c b/reactos/base/applications/taskmgr/taskmgr.c index 7cb8aefc105..9e318b59162 100644 --- a/reactos/base/applications/taskmgr/taskmgr.c +++ b/reactos/base/applications/taskmgr/taskmgr.c @@ -152,9 +152,10 @@ int APIENTRY wWinMain(HINSTANCE hInstance, */ /* 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 @@ int APIENTRY wWinMain(HINSTANCE hInstance, LoadSettings(); /* Initialize perf data */ - if (!PerfDataInitialize()) { + if (!PerfDataInitialize()) + { return -1; }