summaryrefslogtreecommitdiffstats
path: root/mbox.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-07 09:15:04 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-07 09:15:04 +0000
commit5ee262734e576feaa5ceaad562e27c95fc2e4eee (patch)
tree84478aec10984dc3791189c602835808d5fd4931 /mbox.c
parent423c59fb6162497ac9302d8e34e13af0fa683ef8 (diff)
[patch-0.94.4i.matthewf.writingmessages-fix.1] Fix the
display when synchronizing mbox mail folders.
Diffstat (limited to 'mbox.c')
-rw-r--r--mbox.c4
1 files changed, 2 insertions, 2 deletions
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)