First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1444,11 +1444,11 @@ void nsWebShellWindow::LoadContentAreas() {
|
||||
for (endPos = 0; endPos < (PRInt32)searchSpec.Length(); ) {
|
||||
// extract contentAreaID and URL substrings
|
||||
begPos = endPos;
|
||||
eqPos = searchSpec.FindChar('=', PR_FALSE,begPos);
|
||||
eqPos = searchSpec.FindChar('=', begPos);
|
||||
if (eqPos < 0)
|
||||
break;
|
||||
|
||||
endPos = searchSpec.FindChar(';', PR_FALSE,eqPos);
|
||||
endPos = searchSpec.FindChar(';', eqPos);
|
||||
if (endPos < 0)
|
||||
endPos = searchSpec.Length();
|
||||
searchSpec.Mid(contentAreaID, begPos, eqPos-begPos);
|
||||
|
||||
Reference in New Issue
Block a user