From 9ef054448ddca97a9a4c364666ac7671c9074caf Mon Sep 17 00:00:00 2001 From: "varga%netscape.com" Date: Fri, 23 May 2003 13:04:24 +0000 Subject: [PATCH] Fixing OS/2 bustage. --- content/xul/templates/src/nsXULTemplateBuilder.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/xul/templates/src/nsXULTemplateBuilder.cpp b/content/xul/templates/src/nsXULTemplateBuilder.cpp index 2445c78a845..e3a6fddd472 100644 --- a/content/xul/templates/src/nsXULTemplateBuilder.cpp +++ b/content/xul/templates/src/nsXULTemplateBuilder.cpp @@ -230,13 +230,15 @@ nsXULTemplateBuilder::GetDatabase(nsIRDFCompositeDataSource** aResult) NS_IMETHODIMP nsXULTemplateBuilder::Rebuild() { - for (PRInt32 i = mListeners.Count() - 1; i >= 0; --i) { + PRInt32 i; + + for (i = mListeners.Count() - 1; i >= 0; --i) { mListeners[i]->WillRebuild(this); } nsresult rv = RebuildAll(); - for (PRInt32 i = mListeners.Count() - 1; i >= 0; --i) { + for (i = mListeners.Count() - 1; i >= 0; --i) { mListeners[i]->DidRebuild(this); }