]> granicus.if.org Git - mutt/commitdiff
(Re-)Add total msg count to progress for parsing maildirs
authorRocco Rutte <pdmef@gmx.net>
Tue, 6 Nov 2007 16:22:50 +0000 (17:22 +0100)
committerRocco Rutte <pdmef@gmx.net>
Tue, 6 Nov 2007 16:22:50 +0000 (17:22 +0100)
mh.c

diff --git a/mh.c b/mh.c
index 3d15dc4c4ed547291de77f0ec2e1338c5567a7b9..af5f90afa5f261840e2e3cd5587f0aaaf2a17950 100644 (file)
--- 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);
   }