diff options
Diffstat (limited to 'src/mandocvisitor.cpp')
-rw-r--r-- | src/mandocvisitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mandocvisitor.cpp b/src/mandocvisitor.cpp index 93ae712..8d41d63 100644 --- a/src/mandocvisitor.cpp +++ b/src/mandocvisitor.cpp @@ -196,10 +196,10 @@ void ManDocVisitor::visit(DocVerbatim *s) { lang = s->language(); } - SrcLangExt langExt = getLanguageFromFileName(lang); + SrcLangExt langExt = getLanguageFromCodeLang(lang); switch (s->type()) { - case DocVerbatim::Code: // fall though + case DocVerbatim::Code: if (!m_firstCol) m_t << "\n"; m_t << ".PP\n"; m_t << ".nf\n"; |