From e67e9759773cd1172249ef42c721984d03f118fe Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Sat, 4 Aug 2012 17:07:03 +1000 Subject: [PATCH] Bug 778600 - Indent closing brace when listing GroupRules. r=dbaron --- layout/style/nsCSSRules.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layout/style/nsCSSRules.cpp b/layout/style/nsCSSRules.cpp index 7dfdae025a61..56702b24e62e 100644 --- a/layout/style/nsCSSRules.cpp +++ b/layout/style/nsCSSRules.cpp @@ -560,6 +560,8 @@ GroupRule::List(FILE* out, PRInt32 aIndent) const for (PRInt32 index = 0, count = mRules.Count(); index < count; ++index) { mRules.ObjectAt(index)->List(out, aIndent + 1); } + + for (PRInt32 indent = aIndent; --indent >= 0; ) fputs(" ", out); fputs("}\n", out); } #endif