summaryrefslogtreecommitdiffstats
path: root/src/membergroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/membergroup.cpp')
-rw-r--r--src/membergroup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/membergroup.cpp b/src/membergroup.cpp
index 9b79347..a20f7a2 100644
--- a/src/membergroup.cpp
+++ b/src/membergroup.cpp
@@ -77,9 +77,9 @@ void MemberGroup::writeDocumentation(OutputList &ol)
if (!documentation().isEmpty() || Config::repeatBriefFlag)
{
bool htmlEnabled = ol.isEnabled(OutputGenerator::Html);
- bool latexEnabled = ol.isEnabled(OutputGenerator::Html);
- if (htmlEnabled) ol.disableAllBut(OutputGenerator::Html);
- if (latexEnabled) ol.disableAllBut(OutputGenerator::Html);
+ bool latexEnabled = ol.isEnabled(OutputGenerator::Latex);
+ if (htmlEnabled) ol.disable(OutputGenerator::Html);
+ if (latexEnabled) ol.disable(OutputGenerator::Latex);
ol.startTextLink(0,"_details");
parseText(ol,theTranslator->trMore());
ol.endTextLink();