Fixed WIN_SendDestroyMsg.

This commit is contained in:
Pavel Roskin 1999-03-19 16:59:18 +00:00 committed by Alexandre Julliard
parent e577052d70
commit c501207956
1 changed files with 1 additions and 3 deletions

View File

@ -1195,15 +1195,13 @@ static void WIN_SendDestroyMsg( WND* pWnd )
*/
while (nKidCount>0)
{
pChild = WIN_FindWndPtr(pWndArray[nKidCount]);
pChild = WIN_FindWndPtr(pWndArray[--nKidCount]);
if (pChild!=NULL)
{
WIN_SendDestroyMsg( pChild );
WIN_ReleaseWndPtr(pChild);
}
nKidCount--;
}
/*