projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fe23f00
)
Rocco Rutte:
author
pdmef
<pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sat, 6 Aug 2005 20:29:36 +0000
(20:29 +0000)
committer
pdmef
<pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sat, 6 Aug 2005 20:29:36 +0000
(20:29 +0000)
- make sidebar display total count of non-deleted mails for %c in $sidebar_number_format instead of total
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@374
e385b8ad
-14ed-0310-8656-
cc95a2468c6d
sidebar.c
patch
|
blob
|
history
diff --git
a/sidebar.c
b/sidebar.c
index
00145ee
..
e2b417e
100644
(file)
--- a/
sidebar.c
+++ b/
sidebar.c
@@
-111,7
+111,7
@@
static const char* sidebar_number_format (char* dest, size_t destlen, char op,
switch (op) {
case 'c':
snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
- snprintf (dest, destlen, tmp, c ?
Context->msgcount
: b->msgcount);
+ snprintf (dest, destlen, tmp, c ?
(Context->msgcount - Context->deleted)
: b->msgcount);
break;
case 'n':
if (!opt) {