summaryrefslogtreecommitdiffstats
path: root/src/htmldocvisitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r--src/htmldocvisitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp
index a8544e9..4bed69a 100644
--- a/src/htmldocvisitor.cpp
+++ b/src/htmldocvisitor.cpp
@@ -502,7 +502,7 @@ void HtmlDocVisitor::visit(DocVerbatim *s)
{
lang = s->language();
}
- SrcLangExt langExt = getLanguageFromFileName(lang);
+ SrcLangExt langExt = getLanguageFromCodeLang(lang);
switch(s->type())
{
case DocVerbatim::Code: