зеркало из https://github.com/mozilla/gecko-dev.git
Fix Sun WS 5.0 bustage by moving conditional deeper into expression. b=100214
This commit is contained in:
Родитель
1d7513d8fb
Коммит
8e7bfa3204
|
@ -542,8 +542,7 @@ mozTXTToHTMLConv::ItMatchesDelimited(const PRUnichar * aInString,
|
|||
nsCRT::IsAsciiDigit(textAfterPos) ||
|
||||
textAfterPos == *rep
|
||||
) ||
|
||||
!(before == LT_IGNORE ? !Compare(nsDependentString(aInString), nsDependentString(rep, aRepLen), nsCaseInsensitiveStringComparator()) :
|
||||
!Compare(nsDependentString(aInString+1), nsDependentString(rep, aRepLen), nsCaseInsensitiveStringComparator()))
|
||||
!(before == !Compare(nsDependentString(aInString + (LT_IGNORE ? 0 : 1) ), nsDependentString(rep, aRepLen), nsCaseInsensitiveStringComparator()))
|
||||
)
|
||||
return PR_FALSE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче