From: Rocco Rutte Date: Tue, 6 Nov 2007 16:22:50 +0000 (+0100) Subject: (Re-)Add total msg count to progress for parsing maildirs X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a58d2f770961e737e46dcd50b6ce63a809585eb5;p=neomutt (Re-)Add total msg count to progress for parsing maildirs --- diff --git a/mh.c b/mh.c index 3d15dc4c4..af5f90afa 100644 --- a/mh.c +++ b/mh.c @@ -1107,7 +1107,7 @@ int mh_read_dir (CONTEXT * ctx, const char *subdir) if (ctx->magic == M_MAILDIR) { snprintf (msgbuf, sizeof (msgbuf), _("Reading %s..."), ctx->path); - mutt_progress_init (&progress, msgbuf, M_PROGRESS_MSG, ReadInc, 0); + mutt_progress_init (&progress, msgbuf, M_PROGRESS_MSG, ReadInc, count); maildir_delayed_parsing (ctx, md, &progress); }