]> granicus.if.org Git - mutt/commitdiff
Clear the progress bar when the current operation has completed.
authorRocco Rutte <pdmef@gmx.net>
Tue, 3 Oct 2006 16:45:45 +0000 (16:45 +0000)
committerRocco Rutte <pdmef@gmx.net>
Tue, 3 Oct 2006 16:45:45 +0000 (16:45 +0000)
curs_lib.c

index 0622dba947543ec564f2000c20c6ddaf697f5696..bc68335c7a99a8f50ac6b64941db1d2cd231054e 100644 (file)
@@ -355,6 +355,9 @@ void mutt_progress_bar (progress_t* progress, long pos)
     else
       mutt_message ("%s %s", progress->msg, posstr);
   }
+
+  if (pos >= progress->size)
+    mutt_clear_error ();
 }
 #endif