X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/19304f7c526fbe36ba0db2fb80bcaf3bd974d81d..60b8fdd035ce4663b2dc0df721ab2ad78ec3c6f4:/curs_lib.c diff --git a/curs_lib.c b/curs_lib.c index b7ef169..2427e60 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -420,7 +420,6 @@ void mutt_progress_update (progress_t* progress, long pos, int percent) if (update) { - dprint (1, (debugfile, "Updating progress: %ld\n", pos)); if (progress->flags & M_PROGRESS_SIZE) { pos = pos / (progress->inc << 10) * (progress->inc << 10); @@ -428,7 +427,9 @@ void mutt_progress_update (progress_t* progress, long pos, int percent) } else snprintf (posstr, sizeof (posstr), "%ld", pos); - + + dprint (5, (debugfile, "updating progress: %s\n", posstr)); + progress->pos = pos; if (now) progress->timestamp = now;