diff --git a/Common/GmshMessage.cpp b/Common/GmshMessage.cpp index 763b948e9b9d687da041a4fed2713fa4ca521e43..9e6ec77266fb76899e70e5ca0bf00ae7352b6820 100644 --- a/Common/GmshMessage.cpp +++ b/Common/GmshMessage.cpp @@ -469,7 +469,8 @@ void Msg::ProgressMeter(int n, int N, bool log, const char *fmt, ...) #endif if(log && CTX::instance()->terminal){ - fprintf(stdout, "%s \r", str2); + fprintf(stdout, "%s \r", + (n > N - 1) ? "" : str2); fflush(stdout); }