Bug 223012: Make xul fully case sensitive.

r=bryner sr=jst


git-svn-id: svn://10.0.0.236/trunk@149500 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sicking%bigfoot.com
2003-11-18 18:20:03 +00:00
parent c3aeb2464e
commit 2a8221f557
14 changed files with 75 additions and 75 deletions

View File

@@ -946,8 +946,8 @@ nsMenuFrame::IsSizedToPopup(nsIContent* aContent, PRBool aRequireAlways)
else {
nsAutoString sizedToPopup;
aContent->GetAttr(kNameSpaceID_None, nsXULAtoms::sizetopopup, sizedToPopup);
sizeToPopup = (sizedToPopup.EqualsIgnoreCase("always") ||
(!aRequireAlways && sizedToPopup.EqualsIgnoreCase("pref")));
sizeToPopup = sizedToPopup.Equals(NS_LITERAL_STRING("always")) ||
!aRequireAlways && sizedToPopup.Equals(NS_LITERAL_STRING("pref"));
}
return sizeToPopup;