mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:36:07 +00:00
[WIN32K] Fix indenting in IntRemoveHook
This commit is contained in:
parent
1552434940
commit
7a3937ddaf
1 changed files with 26 additions and 24 deletions
|
@ -1037,24 +1037,26 @@ BOOLEAN
|
|||
IntRemoveHook(PVOID Object)
|
||||
{
|
||||
INT HookId;
|
||||
PTHREADINFO pti;
|
||||
PTHREADINFO ptiHook;
|
||||
PDESKTOP pdo;
|
||||
PHOOK Hook = Object;
|
||||
|
||||
|
||||
HookId = Hook->HookId;
|
||||
|
||||
if (Hook->ptiHooked) // Local
|
||||
{
|
||||
pti = Hook->ptiHooked;
|
||||
ptiHook = Hook->ptiHooked;
|
||||
|
||||
IntFreeHook(Hook);
|
||||
|
||||
if ( IsListEmpty(&pti->aphkStart[HOOKID_TO_INDEX(HookId)]) )
|
||||
if (IsListEmpty(&ptiHook->aphkStart[HOOKID_TO_INDEX(HookId)]))
|
||||
{
|
||||
pti->fsHooks &= ~HOOKID_TO_FLAG(HookId);
|
||||
ptiHook->fsHooks &= ~HOOKID_TO_FLAG(HookId);
|
||||
|
||||
_SEH2_TRY
|
||||
{
|
||||
pti->pClientInfo->fsHooks = pti->fsHooks;
|
||||
ptiHook->pClientInfo->fsHooks = ptiHook->fsHooks;
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue