From: srit Date: Fri, 5 Feb 2010 11:40:14 +0000 (+0000) Subject: Forgot width X-Git-Tag: v1.2.0~831 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=058940b4508314ecc063b466f7da6f324a796826;p=clitk.git Forgot width --- diff --git a/common/clitkCommon.cxx b/common/clitkCommon.cxx index 37866ab..4ccceb2 100644 --- a/common/clitkCommon.cxx +++ b/common/clitkCommon.cxx @@ -79,7 +79,7 @@ void clitk::VerboseInProgress(const int nb, const int current, const int percent previous = rounded; std::ostringstream oss; - oss << rounded << '%'; + oss << std::setw(4) << rounded << '%'; std::cout << oss.str() << std::flush; for (int i=0; i