replaced call to deprecated method in nsString

This commit is contained in:
rickg@netscape.com
1999-08-29 17:44:48 +00:00
parent d8718e5f03
commit dec074e195
5 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -3390,7 +3390,7 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader,
hostStr.SetString(host);
nsAllocator::Free(host);
PRInt32 dotLoc = -1;
dotLoc = hostStr.Find('.');
dotLoc = hostStr.FindChar('.');
PRBool retry = PR_FALSE;
if (-1 == dotLoc) {
hostStr.Insert("www.", 0, 4);