diff options
author | Artur Kink <artur.kinK@gmail.com> | 2016-09-25 03:38:16 (GMT) |
---|---|---|
committer | Artur Kink <artur.kinK@gmail.com> | 2016-09-25 03:38:16 (GMT) |
commit | 98d3f8e7d581c589e7bd1a7faf98fc6736847cf1 (patch) | |
tree | f62392dd3c901ce841e5afe082696aff0fddc13a /src/dirdef.cpp | |
parent | d4beb392b452d14d375e1406ec4fb0f6436081ee (diff) | |
download | Doxygen-98d3f8e7d581c589e7bd1a7faf98fc6736847cf1.zip Doxygen-98d3f8e7d581c589e7bd1a7faf98fc6736847cf1.tar.gz Doxygen-98d3f8e7d581c589e7bd1a7faf98fc6736847cf1.tar.bz2 |
For manpages remove trailing dash when no brief description
Diffstat (limited to 'src/dirdef.cpp')
-rw-r--r-- | src/dirdef.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dirdef.cpp b/src/dirdef.cpp index d6f4f55..2d46e45 100644 --- a/src/dirdef.cpp +++ b/src/dirdef.cpp @@ -170,13 +170,16 @@ void DirDef::writeDetailedDescription(OutputList &ol,const QCString &title) void DirDef::writeBriefDescription(OutputList &ol) { - if (!briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC)) + if (hasBriefDescription()) { DocRoot *rootNode = validatingParseDoc( briefFile(),briefLine(),this,0,briefDescription(),TRUE,FALSE); 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); |