Commit c5012079 authored by Pavel Roskin's avatar Pavel Roskin Committed by Alexandre Julliard

Fixed WIN_SendDestroyMsg.

parent e577052d
......@@ -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--;
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment