зеркало из https://github.com/mozilla/pjs.git
eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan
This commit is contained in:
Родитель
78d3ebbc44
Коммит
66a579af24
|
@ -5123,7 +5123,7 @@ InternetSearchDataSource::ParseHTML(nsIURI *aURL, nsIRDFResource *mParent,
|
|||
if (quoteStartOffset < hrefOffset)
|
||||
{
|
||||
// handle case where HREF isn't quoted
|
||||
quoteStartOffset = hrefOffset + nsCRT::strlen("HREF=");
|
||||
quoteStartOffset = hrefOffset + strlen("HREF=");
|
||||
quoteEndOffset = resultItem.FindCharInSet(">", quoteStartOffset);
|
||||
if (quoteEndOffset < quoteStartOffset) continue;
|
||||
}
|
||||
|
@ -5133,7 +5133,7 @@ InternetSearchDataSource::ParseHTML(nsIURI *aURL, nsIRDFResource *mParent,
|
|||
{
|
||||
// handle case where HREF isn't quoted
|
||||
quoteEndOffset = quoteStartOffset;
|
||||
quoteStartOffset = hrefOffset + nsCRT::strlen("HREF=") -1;
|
||||
quoteStartOffset = hrefOffset + strlen("HREF=") -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче