mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:53:02 +00:00
[WIN32K:NTUSER] Code formatting only.
This commit is contained in:
parent
9ab21d67ae
commit
f644a50cd7
1 changed files with 24 additions and 20 deletions
|
@ -261,7 +261,9 @@ IntWinListChildren(PWND Window)
|
|||
if (!Window) return NULL;
|
||||
|
||||
for (Child = Window->spwndChild; Child; Child = Child->spwndNext)
|
||||
{
|
||||
++NumChildren;
|
||||
}
|
||||
|
||||
List = ExAllocatePoolWithTag(PagedPool, (NumChildren + 1) * sizeof(HWND), USERTAG_WINDOWLIST);
|
||||
if(!List)
|
||||
|
@ -270,10 +272,12 @@ IntWinListChildren(PWND Window)
|
|||
EngSetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
||||
return NULL;
|
||||
}
|
||||
for (Child = Window->spwndChild, Index = 0;
|
||||
Child != NULL;
|
||||
Child = Child->spwndNext, ++Index)
|
||||
List[Index] = Child->head.h;
|
||||
|
||||
Index = 0;
|
||||
for (Child = Window->spwndChild; Child; Child = Child->spwndNext)
|
||||
{
|
||||
List[Index++] = Child->head.h;
|
||||
}
|
||||
List[Index] = NULL;
|
||||
|
||||
return List;
|
||||
|
@ -2682,7 +2686,7 @@ BOOLEAN co_UserDestroyWindow(PVOID Object)
|
|||
}
|
||||
}
|
||||
|
||||
// Adjust last active.
|
||||
/* Adjust last active */
|
||||
if ((pwndTemp = Window->spwndOwner))
|
||||
{
|
||||
while (pwndTemp->spwndOwner)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue