зеркало из https://github.com/mozilla/pjs.git
Fix Sun WS 5.0 bustage by moving conditional deeper into expression. b=100214
This commit is contained in:
Родитель
27989febb5
Коммит
2a21df7608
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче