From 059a7efa13ff4147385013b8c6b62e5345e33b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Sat, 4 Sep 2010 17:32:22 -0400 Subject: Fix off-by-one error in displayNumbers. --- html/quotes.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/quotes.jsp b/html/quotes.jsp index 97e9daf..0602276 100644 --- a/html/quotes.jsp +++ b/html/quotes.jsp @@ -65,7 +65,7 @@ if (order == null) { } lq.Printer printer = new lq.Printer(out); -long displayIndex = quotes.size() + 1; +long displayIndex = quotes.size(); for (lq.Quote quote : quotes) { printer.printQuote(quote, displayIndex); displayIndex = displayIndex - 1; -- cgit v1.2.3