Backed out part of the previous checkin to turn Tinderbox green again.

This commit is contained in:
pierre%netscape.com 1999-02-23 16:30:31 +00:00
parent 7a02e28f67
commit 3adb2cae02

View File

@ -1128,7 +1128,7 @@ nsWindow* nsWindow::FindWidgetHit(Point aThePoint)
if (children)
{
// traverse through all the nsWindows to find out who got hit, lowest level of course
children->Last();
children->First();
do
{
nsISupports* child;
@ -1144,7 +1144,7 @@ nsWindow* nsWindow::FindWidgetHit(Point aThePoint)
NS_RELEASE(child);
}
}
while (NS_SUCCEEDED(children->Prev()));
while (NS_SUCCEEDED(children->Next()));
NS_RELEASE(children);
}