(nnultimate-create-mapping): Off-by-one error.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 20 Nov 1999 16:13:23 +0000 (16:13 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 20 Nov 1999 16:13:23 +0000 (16:13 +0000)
lisp/ChangeLog
lisp/nnultimate.el

index bfbc6d1..3bec110 100644 (file)
@@ -6,6 +6,7 @@
        (nnultimate-request-group): Only fetch the groups list if it has
        not been done before.
        (nnultimate-retrieve-headers): Don't write groups.
+       (nnultimate-create-mapping): Off-by-one error.
 
 1999-11-19 12:17:25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
index 134304e..882ff62 100644 (file)
            (setcar (nthcdr 5 entry) mapping)
            (setcar (nthcdr 6 entry) old-total)))))
     (setcar (nthcdr 7 entry) current-time)
-    (setcar (nthcdr 1 entry) old-total)
+    (setcar (nthcdr 1 entry) (1- old-total))
     (nnultimate-write-groups)
     mapping))