Fixing build error on unix.

This commit is contained in:
dp@netscape.com
1999-08-09 00:26:02 +00:00
parent 05220defc5
commit ccc04c91a6
2 changed files with 8 additions and 8 deletions

View File

@@ -2698,12 +2698,12 @@ nsWebShell::ReloadDocument(const char* aCharset,
s = (nsString*) mHistory.ElementAt(mHistoryIndex);
#else
if (mSHist) {
PRInt32 index = 0;
PRInt32 indix = 0;
nsresult rv;
rv = mSHist->getCurrentIndex(index);
rv = mSHist->getCurrentIndex(indix);
if (NS_SUCCEEDED(rv)) {
PRUnichar * url=nsnull;
rv = mSHist->GetURLForIndex(index, &url);
const PRUnichar * url=nsnull;
rv = mSHist->GetURLForIndex(indix, &url);
if (NS_SUCCEEDED(rv))
s = new nsString(url);
}