Fix the GetURL() bustage in windows

This commit is contained in:
radha@netscape.com
1999-06-16 01:02:19 +00:00
parent 5564a94a61
commit d785d420d9
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);