Fixing windows orange -- null-terminate the AttributeImpactArray or the while loop can keep going forever.

git-svn-id: svn://10.0.0.236/trunk@141288 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com 2003-04-17 02:50:58 +00:00
parent c6515bec93
commit 2280548d8b

View File

@ -313,6 +313,7 @@ nsHTMLFontElement::GetMappedAttributeImpact(const nsIAtom* aAttribute, PRInt32 a
{ &nsHTMLAtoms::size, NS_STYLE_HINT_REFLOW },
{ &nsHTMLAtoms::fontWeight, NS_STYLE_HINT_REFLOW },
{ &nsHTMLAtoms::color, NS_STYLE_HINT_VISUAL },
{ nsnull, NS_STYLE_HINT_NONE }
};
static const AttributeImpactEntry* const map[] = {