replaced call to deprecated method in nsString

git-svn-id: svn://10.0.0.236/trunk@45069 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-08-29 17:44:48 +00:00
parent 989fb2991c
commit da713e88f4
5 changed files with 16 additions and 16 deletions

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);