aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-12 18:21:13 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-12 18:21:13 +0000
commit249d3a1b6bd6a602605013ac1bca2b92c7a361c9 (patch)
tree054696c3ee82c802f5e3673677a3a09317ec601b /src
parent9d9f75e6da9885e256097a2eabd0ccb951a40651 (diff)
downloadbuild-249d3a1b6bd6a602605013ac1bca2b92c7a361c9.tar.gz
build-249d3a1b6bd6a602605013ac1bca2b92c7a361c9.tar.bz2
build-249d3a1b6bd6a602605013ac1bca2b92c7a361c9.tar.xz
build-249d3a1b6bd6a602605013ac1bca2b92c7a361c9.zip
One last viewer fix for a little bit.
Diffstat (limited to 'src')
-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;