diff options
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index c4fe0f1..580749d 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -318,11 +318,12 @@ void FileDef::writeDocumentation(OutputList &ol) ol.startGroupHeader(); parseText(ol,theTranslator->trDetailedDescription()); ol.endGroupHeader(); - if (!briefDescription().isEmpty()) + if (!briefDescription().isEmpty() && Config::repeatBriefFlag) { ol+=briefOutput; } - if (!briefDescription().isEmpty() && !documentation().isEmpty()) + if (!briefDescription().isEmpty() && Config::repeatBriefFlag && + !documentation().isEmpty()) { ol.newParagraph(); } |