summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorArtur Kink <artur.kinK@gmail.com>2016-09-26 02:38:57 (GMT)
committerArtur Kink <artur.kinK@gmail.com>2016-09-26 02:38:57 (GMT)
commit051fb8a536e1d52aa0a0422186975852dd139c06 (patch)
tree525395efdffa5f7e09b278940f1cc8c3ff31415f /src/classdef.cpp
parent98d3f8e7d581c589e7bd1a7faf98fc6736847cf1 (diff)
downloadDoxygen-051fb8a536e1d52aa0a0422186975852dd139c06.zip
Doxygen-051fb8a536e1d52aa0a0422186975852dd139c06.tar.gz
Doxygen-051fb8a536e1d52aa0a0422186975852dd139c06.tar.bz2
Fixup man only output to use generator state push pop
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 407d263..51fb8c6 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -954,9 +954,10 @@ void ClassDef::writeBriefDescription(OutputList &ol,bool exampleFlag)
if (hasBriefDescription())
{
ol.startParagraph();
+ ol.pushGeneratorState();
ol.disableAllBut(OutputGenerator::Man);
ol.writeString(" - ");
- ol.enableAll();
+ ol.popGeneratorState();
ol.generateDoc(briefFile(),briefLine(),this,0,
briefDescription(),TRUE,FALSE,0,TRUE,FALSE);
ol.pushGeneratorState();