summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
authorArtur Kink <artur.kinK@gmail.com>2016-09-25 03:38:16 (GMT)
committerArtur Kink <artur.kinK@gmail.com>2016-09-25 03:38:16 (GMT)
commit98d3f8e7d581c589e7bd1a7faf98fc6736847cf1 (patch)
treef62392dd3c901ce841e5afe082696aff0fddc13a /src/namespacedef.cpp
parentd4beb392b452d14d375e1406ec4fb0f6436081ee (diff)
downloadDoxygen-98d3f8e7d581c589e7bd1a7faf98fc6736847cf1.zip
Doxygen-98d3f8e7d581c589e7bd1a7faf98fc6736847cf1.tar.gz
Doxygen-98d3f8e7d581c589e7bd1a7faf98fc6736847cf1.tar.bz2
For manpages remove trailing dash when no brief description
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r--src/namespacedef.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index c04fa7b..839a39d 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -408,6 +408,9 @@ void NamespaceDef::writeBriefDescription(OutputList &ol)
if (rootNode && !rootNode->isEmpty())
{
ol.startParagraph();
+ ol.disableAllBut(OutputGenerator::Man);
+ ol.writeString(" - ");
+ ol.enableAll();
ol.writeDoc(rootNode,this,0);
ol.pushGeneratorState();
ol.disable(OutputGenerator::RTF);