aboutsummaryrefslogtreecommitdiff
path: root/src/viewerpercent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewerpercent.cpp')
-rw-r--r--src/viewerpercent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viewerpercent.cpp b/src/viewerpercent.cpp
index 289c900..03dfe23 100644
--- a/src/viewerpercent.cpp
+++ b/src/viewerpercent.cpp
@@ -43,7 +43,7 @@ void ViewerPercent::beginPerforms( int nCount )
43 43
44void ViewerPercent::endPerforms() 44void ViewerPercent::endPerforms()
45{ 45{
46 int nLen = printf("\r[%2d/%-2d] %s [", 46 int nLen = printf("\r[%d/%d] %s [",
47 nCurCommand, nTotalCommands, 47 nCurCommand, nTotalCommands,
48 sTarget.c_str() ); 48 sTarget.c_str() );
49 for( int j = 0; j < nWidth; j++ ) 49 for( int j = 0; j < nWidth; j++ )
@@ -77,7 +77,7 @@ void ViewerPercent::endRequiresCheck()
77void ViewerPercent::beginPerform( Perform *pPerform ) 77void ViewerPercent::beginPerform( Perform *pPerform )
78{ 78{
79 nCurPerform++; 79 nCurPerform++;
80 int nLen = printf("\r[%2d/%-2d] %s [", 80 int nLen = printf("\r[%d/%d] %s [",
81 nCurCommand, nTotalCommands, 81 nCurCommand, nTotalCommands,
82 sTarget.c_str() ); 82 sTarget.c_str() );
83 int jmax = nCurPerform*nWidth/nTotalPerforms; 83 int jmax = nCurPerform*nWidth/nTotalPerforms;