From b8b7f65772586e498d07412c796842ba46fc729e Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Thu, 30 Aug 2001 04:33:27 +0000 Subject: [PATCH] Fix debug-only win32 bustage. --- content/xul/templates/src/nsXULOutlinerBuilder.cpp | 6 ++++-- content/xul/templates/src/nsXULTreeBuilder.cpp | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/content/xul/templates/src/nsXULOutlinerBuilder.cpp b/content/xul/templates/src/nsXULOutlinerBuilder.cpp index c9c4e29cca7..f4cb067c3a8 100644 --- a/content/xul/templates/src/nsXULOutlinerBuilder.cpp +++ b/content/xul/templates/src/nsXULOutlinerBuilder.cpp @@ -1452,8 +1452,10 @@ nsXULOutlinerBuilder::OpenSubtreeOf(nsOutlinerRows::Subtree* aSubtree, static PRInt32 gNest; nsCAutoString space; - for (PRInt32 i = 0; i < gNest; ++i) - space += " "; + { + for (PRInt32 i = 0; i < gNest; ++i) + space += " "; + } if (PR_LOG_TEST(gXULTemplateLog, PR_LOG_DEBUG)) { const char* res; diff --git a/content/xul/templates/src/nsXULTreeBuilder.cpp b/content/xul/templates/src/nsXULTreeBuilder.cpp index c9c4e29cca7..f4cb067c3a8 100644 --- a/content/xul/templates/src/nsXULTreeBuilder.cpp +++ b/content/xul/templates/src/nsXULTreeBuilder.cpp @@ -1452,8 +1452,10 @@ nsXULOutlinerBuilder::OpenSubtreeOf(nsOutlinerRows::Subtree* aSubtree, static PRInt32 gNest; nsCAutoString space; - for (PRInt32 i = 0; i < gNest; ++i) - space += " "; + { + for (PRInt32 i = 0; i < gNest; ++i) + space += " "; + } if (PR_LOG_TEST(gXULTemplateLog, PR_LOG_DEBUG)) { const char* res;