summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-10 14:27:52 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-10 14:27:52 (GMT)
commit8ad8a81d5c150db2c4823b57cdc8e2f2de9afc91 (patch)
tree842d7e3c8754b88da8a180bdd003f72e6502f11b
parente1ce81a2cb66c70d806adf755d9ee273687ca962 (diff)
parenteeb2831b5f35af1ec8a65be343e754ff1c29550d (diff)
downloadCMake-8ad8a81d5c150db2c4823b57cdc8e2f2de9afc91.zip
CMake-8ad8a81d5c150db2c4823b57cdc8e2f2de9afc91.tar.gz
CMake-8ad8a81d5c150db2c4823b57cdc8e2f2de9afc91.tar.bz2
Merge branch 'makefile-missing-comment' into release-3.1
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 23513fa..280d4ab 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1076,7 +1076,7 @@ cmLocalUnixMakefileGenerator3
if(echo_comment)
{
const char* comment = ccg.GetComment();
- if(comment && !*comment)
+ if(comment && *comment)
{
this->AppendEcho(commands, comment,
cmLocalUnixMakefileGenerator3::EchoGenerate);