Bug 289760 Make forward button dropdown list have same max length as back button dropdown

r+sr=neil a=asa


git-svn-id: svn://10.0.0.236/trunk@211504 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cst%andrew.cmu.edu 2006-09-14 06:10:00 +00:00
parent a7f603709e
commit c6d6372c7b

View File

@ -75,7 +75,7 @@ function FillHistoryMenu(aParent, aMenu)
case "forward":
end = ((count-index) > MAX_HISTORY_MENU_ITEMS) ? index + MAX_HISTORY_MENU_ITEMS : count;
if ((index + 1) >= end) return false;
for (j = index + 1; j < end; j++)
for (j = index + 1; j <= end; j++)
{
entry = sessionHistory.getEntryAtIndex(j, false);
if (entry)