зеркало из https://github.com/mozilla/pjs.git
fix equals to not be case sensative
This commit is contained in:
Родитель
cdd9d2802c
Коммит
cf007064b5
|
@ -143,7 +143,7 @@ PRBool nsHTMLValue::operator==(const nsHTMLValue& aOther) const
|
|||
}
|
||||
}
|
||||
else if (nsnull != aOther.mValue.mString) {
|
||||
return mValue.mString->Equals(*(aOther.mValue.mString));
|
||||
return mValue.mString->EqualsIgnoreCase(*(aOther.mValue.mString));
|
||||
}
|
||||
}
|
||||
else if (eHTMLUnit_ISupports == mUnit) {
|
||||
|
|
|
@ -143,7 +143,7 @@ PRBool nsHTMLValue::operator==(const nsHTMLValue& aOther) const
|
|||
}
|
||||
}
|
||||
else if (nsnull != aOther.mValue.mString) {
|
||||
return mValue.mString->Equals(*(aOther.mValue.mString));
|
||||
return mValue.mString->EqualsIgnoreCase(*(aOther.mValue.mString));
|
||||
}
|
||||
}
|
||||
else if (eHTMLUnit_ISupports == mUnit) {
|
||||
|
|
|
@ -143,7 +143,7 @@ PRBool nsHTMLValue::operator==(const nsHTMLValue& aOther) const
|
|||
}
|
||||
}
|
||||
else if (nsnull != aOther.mValue.mString) {
|
||||
return mValue.mString->Equals(*(aOther.mValue.mString));
|
||||
return mValue.mString->EqualsIgnoreCase(*(aOther.mValue.mString));
|
||||
}
|
||||
}
|
||||
else if (eHTMLUnit_ISupports == mUnit) {
|
||||
|
|
|
@ -143,7 +143,7 @@ PRBool nsHTMLValue::operator==(const nsHTMLValue& aOther) const
|
|||
}
|
||||
}
|
||||
else if (nsnull != aOther.mValue.mString) {
|
||||
return mValue.mString->Equals(*(aOther.mValue.mString));
|
||||
return mValue.mString->EqualsIgnoreCase(*(aOther.mValue.mString));
|
||||
}
|
||||
}
|
||||
else if (eHTMLUnit_ISupports == mUnit) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче