From 0ec86a19efd8670794cf6fae5b46872f9b2b2204 Mon Sep 17 00:00:00 2001 From: "radha%netscape.com" Date: Tue, 20 Nov 2001 19:14:11 +0000 Subject: [PATCH] Fix for bug # 103050. Wrong index value passed for OnHistoryGotoIndex(). r=chak sr=alecf --- xpfe/components/shistory/src/nsSHistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpfe/components/shistory/src/nsSHistory.cpp b/xpfe/components/shistory/src/nsSHistory.cpp index 3eef2f4813d5..f781631b855f 100644 --- a/xpfe/components/shistory/src/nsSHistory.cpp +++ b/xpfe/components/shistory/src/nsSHistory.cpp @@ -658,7 +658,7 @@ nsSHistory::LoadEntry(PRInt32 aIndex, long aLoadType, PRUint32 aHistCmd) } else if (aHistCmd == HIST_CMD_GOTOINDEX) { // We are going somewhere else. This is not reload either - listener->OnHistoryGotoIndex(mIndex, nextURI, &canNavigate); + listener->OnHistoryGotoIndex(aIndex, nextURI, &canNavigate); } } }