Skip to content
Snippets Groups Projects
Commit 6d01c50f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent c8c83efb
No related branches found
No related tags found
No related merge requests found
...@@ -469,7 +469,8 @@ void Msg::ProgressMeter(int n, int N, bool log, const char *fmt, ...) ...@@ -469,7 +469,8 @@ void Msg::ProgressMeter(int n, int N, bool log, const char *fmt, ...)
#endif #endif
if(log && CTX::instance()->terminal){ if(log && CTX::instance()->terminal){
fprintf(stdout, "%s \r", str2); fprintf(stdout, "%s \r",
(n > N - 1) ? "" : str2);
fflush(stdout); fflush(stdout);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment