summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-10 14:46:23 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-10 14:46:23 (GMT)
commit001cd08187513809e688d12469c5b6a13702aeba (patch)
treefed82e204cf945c5bae37775ba3de0463dc7d237
parent0b8d9581c0a651f36fc5a2d0b996fd006152ce50 (diff)
parenteeb2831b5f35af1ec8a65be343e754ff1c29550d (diff)
downloadCMake-001cd08187513809e688d12469c5b6a13702aeba.zip
CMake-001cd08187513809e688d12469c5b6a13702aeba.tar.gz
CMake-001cd08187513809e688d12469c5b6a13702aeba.tar.bz2
Merge branch 'makefile-missing-comment' into release
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index fbf2140..dfa6cc9 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1132,7 +1132,7 @@ cmLocalUnixMakefileGenerator3
if(echo_comment)
{
const char* comment = ccg.GetComment();
- if(comment && !*comment)
+ if(comment && *comment)
{
this->AppendEcho(commands, comment,
cmLocalUnixMakefileGenerator3::EchoGenerate);