X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.cxx;h=715c228ae589c9c10a38bb10eb5e8bc60bc2e2ec;hb=0083c3fb2c66812489631c7551709d121de51625;hp=37866ab7468aaa66b3d8063af605905c026781b5;hpb=05679c0bf1e5812389f03f0176cc9d87039b0b81;p=clitk.git diff --git a/common/clitkCommon.cxx b/common/clitkCommon.cxx index 37866ab..715c228 100644 --- a/common/clitkCommon.cxx +++ b/common/clitkCommon.cxx @@ -1,18 +1,5 @@ -/*------------------------------------------------------------------------- - - Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de - l'Image). All rights reserved. See Doc/License.txt or - http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - --------------------------------------------------------------------------*/ - #ifndef CLITKCOMMON_CXX #define CLITKCOMMON_CXX - /** ------------------------------------------------- * @file clitkCommon.cxx @@ -79,10 +66,10 @@ 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