From 037487a48855a91a0d4264f8b08800e0279dc111 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 16 Dec 2005 16:49:01 -0500 Subject: [PATCH] ENH: make sure uncommented modules are not documented --- Source/cmDocumentation.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 079b1dabf5..54684b86b8 100644 --- a/Source/cmDocumentation.cxx +++ b/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);