70541 - xbl content attribute setting, r=blake, sr=hyatt

This commit is contained in:
hewitt%netscape.com 2001-03-02 03:35:04 +00:00
parent 38794d139f
commit 212d80d3be

View File

@ -718,7 +718,7 @@ nsXBLBinding::GenerateAnonymousContent()
nsCOMPtr<nsIAtom> prefix;
for (PRInt32 i = 0; i < length; ++i) {
content->GetAttributeNameAt(0, namespaceID, *getter_AddRefs(name), *getter_AddRefs(prefix));
content->GetAttributeNameAt(i, namespaceID, *getter_AddRefs(name), *getter_AddRefs(prefix));
if (name.get() != kIncludesAtom) {
nsAutoString value;