summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandomChars <random@chars.jp>2021-10-04 16:45:25 +0900
committerRandomChars <random@chars.jp>2021-10-04 16:45:25 +0900
commitb9bf31bf6180a79f1f007cc2a23df3992f2265a7 (patch)
tree72e7905b2c46272aa3bc40134538b97481f93fca
parente727ea25826e5a962ea60038b87640cd24fb663b (diff)
fix problem where first entry is not displayed in pagev1.3.7
-rw-r--r--store/page.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/page.go b/store/page.go
index 2ecd9ca..937b195 100644
--- a/store/page.go
+++ b/store/page.go
@@ -100,7 +100,7 @@ func (s *Store) Page(variant string, entry int) []string {
}
var page []string
- start := entry*PageSize + 1
+ start := entry * PageSize
end := start + PageSize
begin := false