summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-19 15:13:01 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-19 15:13:01 (GMT)
commit8c77fe55dcdbb7c75b963f39444d9e939e6b66f3 (patch)
tree4745ad4478cbe09000c23f138cc466f737b02e14 /Source/cmakemain.cxx
parent3d862c44f1be74c28858f7b3932b9f17fc551d20 (diff)
downloadCMake-8c77fe55dcdbb7c75b963f39444d9e939e6b66f3.zip
CMake-8c77fe55dcdbb7c75b963f39444d9e939e6b66f3.tar.gz
CMake-8c77fe55dcdbb7c75b963f39444d9e939e6b66f3.tar.bz2
STYLE: fix some typos, nicer debug output
Alex
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index b7bac99..5413013 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -208,7 +208,7 @@ static std::string cmakemainGetStack(void *clientdata)
msg = mf->GetListFileStack();
if (!msg.empty())
{
- msg = "\nCalled from: " + msg;
+ msg = "\n Called from: " + msg;
}
}
@@ -226,7 +226,7 @@ static void cmakemainProgressCallback(const char *m, float prog,
{
cmMakefile* mf = cmakemainGetMakefile(clientdata);
std::string dir;
- if ((mf) && (strstr(m, "Configuring")==m))
+ if ((mf) && (strstr(m, "Configuring")==m) && (prog<0))
{
dir = " ";
dir += mf->GetCurrentDirectory();