Jelajahi Sumber

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

Brad King 11 tahun lalu
induk
melakukan
8ad8a81d5c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 1 - 1
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -1076,7 +1076,7 @@ cmLocalUnixMakefileGenerator3
   if(echo_comment)
   if(echo_comment)
     {
     {
     const char* comment = ccg.GetComment();
     const char* comment = ccg.GetComment();
-    if(comment && !*comment)
+    if(comment && *comment)
       {
       {
       this->AppendEcho(commands, comment,
       this->AppendEcho(commands, comment,
                        cmLocalUnixMakefileGenerator3::EchoGenerate);
                        cmLocalUnixMakefileGenerator3::EchoGenerate);