summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index ba4fae5..d387b02 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -5508,7 +5508,7 @@ bool updateLanguageMapping(const QCString &extension,const QCString &language)
QCString extName = extension.lower();
if (extName.isEmpty()) return FALSE;
if (extName.at(0)!='.') extName.prepend(".");
- auto it = g_extLookup.find(extension.str());
+ auto it = g_extLookup.find(extName.str());
if (it!=g_extLookup.end())
{
g_extLookup.erase(it); // language was already register for this ext