summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index ab64a88..1210305 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -232,16 +232,17 @@ void PageDef::writePageDocumentation(OutputList &ol)
QCString docStr = documentation()+inbodyDocumentation();
if (!docStr.isEmpty())
{
+ ol.pushGeneratorState();
ol.disableAllBut(OutputGenerator::Man);
ol.writeString(" - ");
- ol.enableAll();
+ ol.popGeneratorState();
}
ol.generateDoc(
docFile(), // fileName
docLine(), // startLine
this, // context
0, // memberdef
- docStr, // docStr
+ docStr, // docStr
TRUE, // index words
FALSE // not an example
);