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:
@@ -900,7 +900,7 @@ nsHTMLFramesetFrame::ParseRowColSpec(nsIPresContext* aPresContext,
|
||||
PRInt32 count = 1;
|
||||
while (commaX >= 0) {
|
||||
count++;
|
||||
commaX = aSpec.FindChar(COMMA, PR_FALSE,commaX + 1);
|
||||
commaX = aSpec.FindChar(COMMA, commaX + 1);
|
||||
}
|
||||
|
||||
if (count > aMaxNumValues) {
|
||||
@@ -915,7 +915,7 @@ nsHTMLFramesetFrame::ParseRowColSpec(nsIPresContext* aPresContext,
|
||||
|
||||
for (PRInt32 i = 0; i < count; i++) {
|
||||
// Find our comma
|
||||
commaX = aSpec.FindChar(COMMA, PR_FALSE,start);
|
||||
commaX = aSpec.FindChar(COMMA, start);
|
||||
PRInt32 end = (commaX < 0) ? specLen : commaX;
|
||||
|
||||
// Note: If end == start then it means that the token has no
|
||||
|
||||
Reference in New Issue
Block a user