From 70a59c6e4f5a26b2fd9c0146b9f1e71b1438581a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 27 Dec 2006 01:11:15 +0000 Subject: Fixed a color/newline order thingie. --- src/viewercolorpct.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/viewercolorpct.cpp b/src/viewercolorpct.cpp index 3745a03..6fe9446 100644 --- a/src/viewercolorpct.cpp +++ b/src/viewercolorpct.cpp @@ -55,9 +55,9 @@ void ViewerColorPct::printHead() sCmd.front().bCmdClean = false; indent(); if(sCmd.size() > 1) - printf("\033[37;22m--- \033[34m%s\033[37m ---\n\033[0m", sCmd.front().sTarget.c_str() ); + printf("\033[37;22m--- \033[34m%s\033[37m ---\033[0m\n", sCmd.front().sTarget.c_str() ); else - printf("\033[37;1m--- [\033[32m%d/%d\033[37m] \033[34m%s\033[37m ---\n\033[0m", iCC, iTC, sCmd.front().sTarget.c_str() ); + printf("\033[37;1m--- [\033[32m%d/%d\033[37m] \033[34m%s\033[37m ---\033[0m\n", iCC, iTC, sCmd.front().sTarget.c_str() ); } } @@ -67,9 +67,9 @@ void ViewerColorPct::printPerform(const char *sRule, const char *sTarget) ((double)sCmd.front().iCP/(double)sCmd.front().iTP)*100.0 ); if(sCmd.size() > 1) - printf( "\033[37;22m[\033[32m%3d%%\033[37m] \033[35m%8s\033[37m: %s\n\033[0m", iPct, sRule, sTarget ); + printf( "\033[37;22m[\033[32m%3d%%\033[37m] \033[35m%8s\033[37m: %s\033[0m\n", iPct, sRule, sTarget ); else - printf( "\033[37;1m[\033[32m%3d%%\033[37m] \033[35m%8s\033[37m: %s\n\033[0m", iPct, sRule, sTarget ); + printf( "\033[37;1m[\033[32m%3d%%\033[37m] \033[35m%8s\033[37m: %s\033[0m\n", iPct, sRule, sTarget ); } void ViewerColorPct::beginRequiresCheck( bool bCached, const std::string &sName ) -- cgit v1.2.3