summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentationFormatterText.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-06-28 12:05:22 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-06-28 12:05:22 (GMT)
commit1651c6f37c9f04eb90b00fdee7ecb8bdb0c38e26 (patch)
tree453d4520c258e7a1aed48edc80ca4906bfc0625f /Source/cmDocumentationFormatterText.cxx
parent93169dbd564ec3225c2c94d00627aaff8192b991 (diff)
downloadCMake-1651c6f37c9f04eb90b00fdee7ecb8bdb0c38e26.zip
CMake-1651c6f37c9f04eb90b00fdee7ecb8bdb0c38e26.tar.gz
CMake-1651c6f37c9f04eb90b00fdee7ecb8bdb0c38e26.tar.bz2
STYLE: don't print the section name "SingleItem" if the documentation for
just a single item is printed Alex
Diffstat (limited to 'Source/cmDocumentationFormatterText.cxx')
-rw-r--r--Source/cmDocumentationFormatterText.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentationFormatterText.cxx b/Source/cmDocumentationFormatterText.cxx
index b45abf8..7efc63c 100644
--- a/Source/cmDocumentationFormatterText.cxx
+++ b/Source/cmDocumentationFormatterText.cxx
@@ -30,7 +30,7 @@ void cmDocumentationFormatterText
const cmDocumentationSection &section,
const char* name)
{
- if(name)
+ if(name && (strcmp(name, "SingleItem")!=0))
{
os <<
"---------------------------------------"