Fixed problem that caused Mac build to break

This commit is contained in:
troy@netscape.com
1998-11-17 02:37:47 +00:00
parent a8d3c8f20f
commit 90fc3558ce
2 changed files with 4 additions and 2 deletions

View File

@@ -144,7 +144,8 @@ RootFrame::Reflow(nsIPresContext& aPresContext,
deletedFrame->GetNextSibling(mFirstChild);
} else {
nsIFrame* prevSibling = nsnull;
for (nsIFrame* f = mFirstChild; nsnull != f; f->GetNextSibling(f)) {
nsIFrame* f;
for (f = mFirstChild; nsnull != f; f->GetNextSibling(f)) {
if (f == deletedFrame) {
break;
}