replaced calls to deprecated nsString API

This commit is contained in:
rickg@netscape.com
1999-07-26 00:37:24 +00:00
parent cdf172d570
commit 9e8c855244
13 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -2860,7 +2860,7 @@ NS_IMETHODIMP nsHTMLDocument::FindNext(const nsString &aSearchStr, PRBool aMatch
// Temporary
PRBool doReplace = PR_FALSE;
nsString replacementStr("xxxx");
PRInt32 inx = mSearchStr->Find('/');
PRInt32 inx = mSearchStr->FindChar('/');
if (inx > -1) {
if (inx == mSearchStr->Length()-1) {
replacementStr.SetLength(0);