Fixed oopsie in the hint storage check

This commit is contained in:
kipp%netscape.com 1998-10-28 02:04:06 +00:00
parent 18aaa0bf5a
commit 44596edbf4
3 changed files with 3 additions and 3 deletions

View File

@ -506,7 +506,7 @@ CSSParserImpl::ParseAndAppendDeclaration(const nsString& aBuffer,
PRInt32 hint = NS_STYLE_HINT_UNKNOWN;
ParseDeclaration(errorCode, aDeclaration, PR_FALSE, hint);
if (nsnull == aHint) {
if (nsnull != aHint) {
*aHint = hint;
}

View File

@ -506,7 +506,7 @@ CSSParserImpl::ParseAndAppendDeclaration(const nsString& aBuffer,
PRInt32 hint = NS_STYLE_HINT_UNKNOWN;
ParseDeclaration(errorCode, aDeclaration, PR_FALSE, hint);
if (nsnull == aHint) {
if (nsnull != aHint) {
*aHint = hint;
}

View File

@ -506,7 +506,7 @@ CSSParserImpl::ParseAndAppendDeclaration(const nsString& aBuffer,
PRInt32 hint = NS_STYLE_HINT_UNKNOWN;
ParseDeclaration(errorCode, aDeclaration, PR_FALSE, hint);
if (nsnull == aHint) {
if (nsnull != aHint) {
*aHint = hint;
}