Sorry, cancel the revert change.
authorkaoru <kaoru>
Mon, 10 Dec 2001 06:37:34 +0000 (06:37 +0000)
committerkaoru <kaoru>
Mon, 10 Dec 2001 06:37:34 +0000 (06:37 +0000)
Fixed unread number mismatch when all-unread < unread.

wl/ChangeLog
wl/wl-folder.el

index 8d97daf..3a55c87 100644 (file)
@@ -2,6 +2,7 @@
 
        * wl-folder.el (wl-folder-check-one-entity): Fixed car of return
        value.  Refactoring `wl-folder-notify-deleted' is nil case.
+       Fixed unread number mismatch when all-unread < unread.
 
 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
 
index 8d07931..bea3893 100644 (file)
@@ -831,7 +831,6 @@ Optional argument ARG is repeart count."
                    (wl-summary-count-unread (elmo-msgdb-mark-load
                                              (elmo-folder-msgdb-path
                                               folder)))))
-      (setq unread (min unread (- (or (cdr nums) 0) (or (car nums) 0))))
       (when new (setq unread (- unread new)))
       (wl-folder-entity-hashtb-set wl-folder-entity-hashtb entity
                                   (list (or new (car nums))