- 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
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) {