summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r--src/namespacedef.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index 8badc81..6377295 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -251,9 +251,13 @@ void NamespaceDef::writeDocumentation(OutputList &ol)
parseText(ol,theTranslator->trDetailedDescription());
ol.endGroupHeader();
ol.startTextBlock();
- if (!briefDescription().isEmpty())
+ if (!briefDescription().isEmpty() && Config::repeatBriefFlag)
{
ol+=briefOutput;
+ }
+ if (!briefDescription().isEmpty() && Config::repeatBriefFlag &&
+ !documentation().isEmpty())
+ {
ol.newParagraph();
}
if (!documentation().isEmpty())