From: Thomas Roessler Date: Mon, 7 Sep 1998 09:15:04 +0000 (+0000) Subject: [patch-0.94.4i.matthewf.writingmessages-fix.1] Fix the X-Git-Tag: mutt-0-94-6i-rel~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ee262734e576feaa5ceaad562e27c95fc2e4eee;p=mutt [patch-0.94.4i.matthewf.writingmessages-fix.1] Fix the display when synchronizing mbox mail folders. --- diff --git a/mbox.c b/mbox.c index d5ef5f56..b43319c2 100644 --- a/mbox.c +++ b/mbox.c @@ -731,8 +731,8 @@ int mbox_sync_mailbox (CONTEXT *ctx) if (! ctx->hdrs[i]->deleted) { j++; - if (!ctx->quiet && WriteInc && ((j % WriteInc) == 0 || j == 1)) - mutt_message ("Writing messages... %d (%d%%)", j, + if (!ctx->quiet && WriteInc && ((i % WriteInc) == 0 || j == 1)) + mutt_message ("Writing messages... %d (%d%%)", i, ftell (ctx->fp) / (ctx->size / 100 + 1)); if (ctx->magic == M_MMDF)