fixed style

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4063 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2011-01-31 05:16:55 +00:00
parent 9b24834825
commit a4ff95614a
+7 -5
View File
@@ -238,12 +238,14 @@ INT_PTR CALLBACK EtpMemoryListsDlgProc(
RtlReleasePrivilege(returnedState);
}
if (status == 0xc0000061 /* STATUS_PRIVILEGE_NOT_HELD */)
{
PhShowError(hwndDlg, L"Process Hacker must be elevated to execute this command.");
}
else if (!NT_SUCCESS(status))
if (status == STATUS_PRIVILEGE_NOT_HELD)
{
PhShowError(hwndDlg, L"Process Hacker must be elevated to execute this command.");
}
else if (!NT_SUCCESS(status))
{
PhShowStatus(hwndDlg, L"Unable to execute the memory list command", status, 0);
}
}
DestroyMenu(menu);