From 249d3a1b6bd6a602605013ac1bca2b92c7a361c9 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 12 Sep 2006 18:21:13 +0000 Subject: One last viewer fix for a little bit. --- src/viewerpercent.cpp | 4 ++-- 1 file 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 ) void ViewerPercent::endPerforms() { - int nLen = printf("\r[%2d/%-2d] %s [", + int nLen = printf("\r[%d/%d] %s [", nCurCommand, nTotalCommands, sTarget.c_str() ); for( int j = 0; j < nWidth; j++ ) @@ -77,7 +77,7 @@ void ViewerPercent::endRequiresCheck() void ViewerPercent::beginPerform( Perform *pPerform ) { nCurPerform++; - int nLen = printf("\r[%2d/%-2d] %s [", + int nLen = printf("\r[%d/%d] %s [", nCurCommand, nTotalCommands, sTarget.c_str() ); int jmax = nCurPerform*nWidth/nTotalPerforms; -- cgit v1.2.3