projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
sidebar.c
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);
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) {
break;
case 'n':
if (!opt) {