Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie)

This commit is contained in:
Arpad Borsos
2008-09-15 17:40:25 +02:00
parent d72a34f431
commit 40a654b059
12 changed files with 40 additions and 40 deletions

View File

@@ -714,7 +714,7 @@ nsMenuFrame::IsSizedToPopup(nsIContent* aContent, PRBool aRequireAlways)
nsAutoString sizedToPopup;
aContent->GetAttr(kNameSpaceID_None, nsGkAtoms::sizetopopup, sizedToPopup);
sizeToPopup = sizedToPopup.EqualsLiteral("always") ||
!aRequireAlways && sizedToPopup.EqualsLiteral("pref");
(!aRequireAlways && sizedToPopup.EqualsLiteral("pref"));
}
return sizeToPopup;