浏览代码

Merge branch 'makefile-missing-comment' into release-3.1

Brad King 11 年之前
父节点
当前提交
8ad8a81d5c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 1 - 1
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);