diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-12-27 01:11:15 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-12-27 01:11:15 +0000 |
commit | 70a59c6e4f5a26b2fd9c0146b9f1e71b1438581a (patch) | |
tree | 0797eee92b2db2bee95dc395cde010067729ff7d /src | |
parent | 872e6828dfb0434f8ef20981bc5d3f1e69c9a277 (diff) | |
download | build-70a59c6e4f5a26b2fd9c0146b9f1e71b1438581a.tar.gz build-70a59c6e4f5a26b2fd9c0146b9f1e71b1438581a.tar.bz2 build-70a59c6e4f5a26b2fd9c0146b9f1e71b1438581a.tar.xz build-70a59c6e4f5a26b2fd9c0146b9f1e71b1438581a.zip |
Fixed a color/newline order thingie.
Diffstat (limited to 'src')
-rw-r--r-- | src/viewercolorpct.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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() | |||
55 | sCmd.front().bCmdClean = false; | 55 | sCmd.front().bCmdClean = false; |
56 | indent(); | 56 | indent(); |
57 | if(sCmd.size() > 1) | 57 | if(sCmd.size() > 1) |
58 | printf("\033[37;22m--- \033[34m%s\033[37m ---\n\033[0m", sCmd.front().sTarget.c_str() ); | 58 | printf("\033[37;22m--- \033[34m%s\033[37m ---\033[0m\n", sCmd.front().sTarget.c_str() ); |
59 | else | 59 | else |
60 | 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() ); | 60 | 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() ); |
61 | } | 61 | } |
62 | } | 62 | } |
63 | 63 | ||
@@ -67,9 +67,9 @@ void ViewerColorPct::printPerform(const char *sRule, const char *sTarget) | |||
67 | ((double)sCmd.front().iCP/(double)sCmd.front().iTP)*100.0 | 67 | ((double)sCmd.front().iCP/(double)sCmd.front().iTP)*100.0 |
68 | ); | 68 | ); |
69 | if(sCmd.size() > 1) | 69 | if(sCmd.size() > 1) |
70 | printf( "\033[37;22m[\033[32m%3d%%\033[37m] \033[35m%8s\033[37m: %s\n\033[0m", iPct, sRule, sTarget ); | 70 | printf( "\033[37;22m[\033[32m%3d%%\033[37m] \033[35m%8s\033[37m: %s\033[0m\n", iPct, sRule, sTarget ); |
71 | else | 71 | else |
72 | printf( "\033[37;1m[\033[32m%3d%%\033[37m] \033[35m%8s\033[37m: %s\n\033[0m", iPct, sRule, sTarget ); | 72 | printf( "\033[37;1m[\033[32m%3d%%\033[37m] \033[35m%8s\033[37m: %s\033[0m\n", iPct, sRule, sTarget ); |
73 | } | 73 | } |
74 | 74 | ||
75 | void ViewerColorPct::beginRequiresCheck( bool bCached, const std::string &sName ) | 75 | void ViewerColorPct::beginRequiresCheck( bool bCached, const std::string &sName ) |