Browse Source

ENH: make sure uncommented modules are not documented

Bill Hoffman 20 years ago
parent
commit
037487a488
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Source/cmDocumentation.cxx

+ 1 - 2
Source/cmDocumentation.cxx

@@ -309,9 +309,8 @@ bool cmDocumentation::CreateSingleModule(const char* fname, const char* moduleNa
       }
     else
       {
-      if(text.length() < 2 && brief.length() == 0)
+      if(text.length() < 2 && brief.length() == 1)
         {
-        std::cerr  << text << " " << brief << "\n";
         return false;
         }
       char* pname = strcpy(new char[strlen(moduleName)+1], moduleName);