Fix the GetURL() bustage in windows

git-svn-id: svn://10.0.0.236/trunk@35595 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
radha%netscape.com
1999-06-16 01:02:19 +00:00
parent f46902fa6b
commit 86b169912d
2 changed files with 4 additions and 4 deletions

View File

@@ -1755,7 +1755,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
/* Add yourself to the Session History */
if (shist) {
PRInt32 ret=0;
ret = shist->add(this);
ret = shist->add(this, aType);
}
}
@@ -1788,7 +1788,7 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
/* The session History may have changed the URL. So pass on the
* right one for loading
*/
PRUnichar * urlString=nsnull;
const PRUnichar * urlString=nsnull;
GetURL(&urlString);
nsAutoString newURL(urlString);
printf("Loading url %s in WEbshell %x\n", mURL.ToNewCString(), this);