diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-06-28 12:05:22 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-06-28 12:05:22 (GMT) |
commit | 1651c6f37c9f04eb90b00fdee7ecb8bdb0c38e26 (patch) | |
tree | 453d4520c258e7a1aed48edc80ca4906bfc0625f | |
parent | 93169dbd564ec3225c2c94d00627aaff8192b991 (diff) | |
download | CMake-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
-rw-r--r-- | Source/cmDocumentationFormatterText.cxx | 2 |
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 §ion, const char* name) { - if(name) + if(name && (strcmp(name, "SingleItem")!=0)) { os << "---------------------------------------" |