X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=sidebar.c;h=e2b417e8e9e86c609104d8c986b249645be3b89a;hb=fa553944f7c505b65a0552e44de151c2e41c1280;hp=00145ee8ba56d9677c927164662a512ddd88e0a8;hpb=96d53ff49c308769efbf708e1e65819077cb7af6;p=apps%2Fmadmutt.git diff --git a/sidebar.c b/sidebar.c index 00145ee..e2b417e 100644 --- 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) {