diff --git a/mozilla/string/obsolete/bufferRoutines.h b/mozilla/string/obsolete/bufferRoutines.h index 57dffe82535..5a0ac46b0e1 100644 --- a/mozilla/string/obsolete/bufferRoutines.h +++ b/mozilla/string/obsolete/bufferRoutines.h @@ -390,11 +390,10 @@ CopyChars gCopyChars[2][2]={ * @param aDestLength is the size (in char-units, not bytes) of the buffer * @param anOffset is the start pos to begin searching * @param aChar is the target character we're looking for - * @param aIgnorecase tells us whether to use a case sensitive search * @param aCount tells us how many characters to iterate through (which may be different than aLength); -1 means use full length. * @return index of pos if found, else -1 (kNotFound) */ -inline PRInt32 FindChar1(const char* aDest,PRUint32 aDestLength,PRInt32 anOffset,const PRUnichar aChar,PRBool aIgnoreCase,PRInt32 aCount) { +inline PRInt32 FindChar1(const char* aDest,PRUint32 aDestLength,PRInt32 anOffset,const PRUnichar aChar,PRInt32 aCount) { if(anOffset < 0) anOffset=0; @@ -414,30 +413,15 @@ inline PRInt32 FindChar1(const char* aDest,PRUint32 aDestLength,PRInt32 anOffset const char* max = aDest+aDestLength; const char* end = (last=0) { PRUnichar theChar=aDest.GetCharAt(theIndex); //read at end now... - PRInt32 thePos=::FindChar1(aSet,theSetLen,0,theChar,PR_FALSE,theSetLen); + PRInt32 thePos=::FindChar1(aSet,theSetLen,0,theChar,theSetLen); if(kNotFound=0) { PRUnichar theChar=aDest.GetCharAt(theIndex); //read at end now... - PRInt32 thePos=::FindChar1(aSet,theSetLen,0,theChar,PR_FALSE,theSetLen); + PRInt32 thePos=::FindChar1(aSet,theSetLen,0,theChar,theSetLen); if(kNotFound