summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil ├śrbekk <orbekk@pvv.ntnu.no>2010-09-04 17:32:22 -0400
committerKjetil ├śrbekk <orbekk@pvv.ntnu.no>2010-09-04 17:32:22 -0400
commit059a7efa13ff4147385013b8c6b62e5345e33b3c (patch)
tree1aba7857ffffa2c50126d9a1d0cf5e7a3e47c8d0
parent5698c53cae94e8b32ae175324fde2ebd7b7b7faa (diff)
Fix off-by-one error in displayNumbers.
-rw-r--r--html/quotes.jsp2
1 files changed, 1 insertions, 1 deletions
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;