зеркало из https://github.com/mozilla/pjs.git
string fixes
This commit is contained in:
Родитель
0cf741c80a
Коммит
3d8a12dd7f
|
@ -112,7 +112,7 @@ nsHTMLTags::LookupTag(const nsCString& aTag)
|
|||
TagNode node(aTag);
|
||||
TagNode* found = (TagNode*)gTagTree->FindItem(&node);
|
||||
if (found) {
|
||||
NS_ASSERTION(found->mStr.Equals(aTag,IGNORE_CASE), "bad tree");
|
||||
NS_ASSERTION(found->mStr.EqualsWithConversion(aTag,IGNORE_CASE), "bad tree");
|
||||
return found->mEnum;
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -112,7 +112,7 @@ nsHTMLTags::LookupTag(const nsCString& aTag)
|
|||
TagNode node(aTag);
|
||||
TagNode* found = (TagNode*)gTagTree->FindItem(&node);
|
||||
if (found) {
|
||||
NS_ASSERTION(found->mStr.Equals(aTag,IGNORE_CASE), "bad tree");
|
||||
NS_ASSERTION(found->mStr.EqualsWithConversion(aTag,IGNORE_CASE), "bad tree");
|
||||
return found->mEnum;
|
||||
}
|
||||
else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче