From c1d76095ebeb85a6255ebf9794faa9616b1f072d Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Tue, 5 Feb 2002 03:11:01 +0000 Subject: [PATCH] Fix bustage. "i" is already declared. git-svn-id: svn://10.0.0.236/trunk@113670 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/xul/base/src/nsContainerBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/layout/xul/base/src/nsContainerBox.cpp b/mozilla/layout/xul/base/src/nsContainerBox.cpp index f06d39549e8..9247d87e10b 100644 --- a/mozilla/layout/xul/base/src/nsContainerBox.cpp +++ b/mozilla/layout/xul/base/src/nsContainerBox.cpp @@ -467,7 +467,7 @@ nsContainerBox::CheckBoxOrder(nsBoxLayoutState& aState) // turn the array back into linked list, with first and last cached mFirstChild = boxes[0]; mLastChild = boxes[mChildCount-1]; - for (PRInt32 i = 0; i < mChildCount; ++i) { + for (i = 0; i < mChildCount; ++i) { if (i <= mChildCount-2) boxes[i]->SetNextBox(boxes[i+1]); else