diff options
-rw-r--r-- | buffy.c | 4 | ||||
-rw-r--r-- | globals.h | 1 | ||||
-rw-r--r-- | postpone.c | 1 | ||||
-rw-r--r-- | send.c | 2 | ||||
-rw-r--r-- | status.c | 2 |
5 files changed, 8 insertions, 2 deletions
@@ -380,6 +380,10 @@ int mutt_buffy_check (int force) BuffyNotify++; } + /* update postponed count as well, on force */ + if (force && Postponed) + mutt_num_postponed (); + BuffyDoneTime = BuffyTime; return (BuffyCount); } @@ -126,6 +126,7 @@ WHERE short HistSize; WHERE short PagerContext; WHERE short PagerIndexLines; WHERE short PopPort; +WHERE short PostCount INITVAL(0); WHERE short ReadInc; WHERE short SendmailWait; WHERE short Timeout; @@ -49,7 +49,6 @@ static struct mapping_t PostponeHelp[] = { -static short PostCount = 0; static time_t LastModify = 0; static CONTEXT *PostContext = NULL; @@ -1205,6 +1205,8 @@ main_loop: goto main_loop; } mutt_message _("Message postponed."); + PostCount++; + mutt_num_postponed (); goto cleanup; } } @@ -176,7 +176,7 @@ status_format_str (char *buf, size_t buflen, char op, const char *src, break; case 'p': - count = mutt_num_postponed (); + count = PostCount; if (!optional) { snprintf (fmt, sizeof (fmt), "%%%sd", prefix); |