[WIN32K:NTUSER] Code formatting only.

This commit is contained in:
Hermès Bélusca-Maïto 2018-09-01 23:39:38 +02:00
parent 9ab21d67ae
commit f644a50cd7
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -261,7 +261,9 @@ IntWinListChildren(PWND Window)
if (!Window) return NULL; if (!Window) return NULL;
for (Child = Window->spwndChild; Child; Child = Child->spwndNext) for (Child = Window->spwndChild; Child; Child = Child->spwndNext)
{
++NumChildren; ++NumChildren;
}
List = ExAllocatePoolWithTag(PagedPool, (NumChildren + 1) * sizeof(HWND), USERTAG_WINDOWLIST); List = ExAllocatePoolWithTag(PagedPool, (NumChildren + 1) * sizeof(HWND), USERTAG_WINDOWLIST);
if(!List) if(!List)
@ -270,10 +272,12 @@ IntWinListChildren(PWND Window)
EngSetLastError(ERROR_NOT_ENOUGH_MEMORY); EngSetLastError(ERROR_NOT_ENOUGH_MEMORY);
return NULL; return NULL;
} }
for (Child = Window->spwndChild, Index = 0;
Child != NULL; Index = 0;
Child = Child->spwndNext, ++Index) for (Child = Window->spwndChild; Child; Child = Child->spwndNext)
List[Index] = Child->head.h; {
List[Index++] = Child->head.h;
}
List[Index] = NULL; List[Index] = NULL;
return List; return List;
@ -2682,7 +2686,7 @@ BOOLEAN co_UserDestroyWindow(PVOID Object)
} }
} }
// Adjust last active. /* Adjust last active */
if ((pwndTemp = Window->spwndOwner)) if ((pwndTemp = Window->spwndOwner))
{ {
while (pwndTemp->spwndOwner) while (pwndTemp->spwndOwner)