summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/memberdef.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index a25528a..bfbec2b 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -270,8 +270,11 @@ static bool writeDefArgumentList(OutputList &ol,ClassDef *cd,
//{
// ol.docify(" ");
//}
- ol.disable(OutputGenerator::Man);
ol.disable(OutputGenerator::Latex);
+ ol.disable(OutputGenerator::Html);
+ ol.docify(" "); /* man page */
+ if (htmlOn) ol.enable(OutputGenerator::Html);
+ ol.disable(OutputGenerator::Man);
ol.startEmphasis();
ol.enable(OutputGenerator::Man);
if (latexOn) ol.enable(OutputGenerator::Latex);