From 2480908b15d54c196bab72d01773e3f3e27d0daf Mon Sep 17 00:00:00 2001 From: pdmef Date: Thu, 24 Nov 2005 07:19:22 +0000 Subject: [PATCH] Rocco Rutte: - fix sidebar counts one too high for maildir git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@619 e385b8ad-14ed-0310-8656-cc95a2468c6d --- VERSION.svn | 2 +- buffy.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/VERSION.svn b/VERSION.svn index af368af..39f541d 100644 --- a/VERSION.svn +++ b/VERSION.svn @@ -1 +1 @@ -584 +619 diff --git a/buffy.c b/buffy.c index f1b39b3..b00170b 100644 --- a/buffy.c +++ b/buffy.c @@ -390,10 +390,11 @@ int buffy_check (int force) /* one new and undeleted message is enough */ if (tmp->new == 0) { BuffyCount++; - tmp->new = 1; - if (!count) + if (!count) { /* if sidebar invisible -> done */ + tmp->new = 1; break; + } } tmp->msgcount++; tmp->msg_unread++; -- 2.20.1