Fix error in empty testing in templates. r=brendan, sr=waterson

git-svn-id: svn://10.0.0.236/trunk@92051 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com
2001-04-12 01:57:50 +00:00
parent 11106ed005
commit 7173aeb766

View File

@@ -1295,8 +1295,10 @@ nsXULTemplateBuilder::CheckContainer(nsIRDFResource* aResource, PRBool* aIsConta
isContainer = PR_TRUE;
// ...should we check if it's empty?
if (!aIsEmpty || (mFlags & eDontTestEmpty))
if (!aIsEmpty || (mFlags & eDontTestEmpty)) {
isEmpty = PR_FALSE;
break;
}
// Yes: call GetTarget() and see if there's anything on
// the other side...