aboutsummaryrefslogtreecommitdiffstats
path: root/skate/reduce.go
diff options
context:
space:
mode:
Diffstat (limited to 'skate/reduce.go')
-rw-r--r--skate/reduce.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/reduce.go b/skate/reduce.go
index eac2e83..01df50f 100644
--- a/skate/reduce.go
+++ b/skate/reduce.go
@@ -501,7 +501,7 @@ func matchedRefsExtend(matched []*BiblioRef, refs []*Ref, stats *statsAugment) [
seen.Add(s)
}
for _, r := range refs {
- s := r.Key + fmt.Sprintf("%d", r.Index)
+ s := r.Key + fmt.Sprintf("%d", r.Index+1)
if seen.Contains(s) {
stats.skipMatchedRef++
log.Printf("skip-matched-ref [%d]: from %d matches; ident=%v, title=%s, key=%v, index=%d",