summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-01-28 17:55:56 (GMT)
committerGitHub <noreply@github.com>2021-01-28 17:55:56 (GMT)
commit6df86cbfd41342495f65dd1e6eb143cba36a514e (patch)
tree54b598f0bd7608522163e668f5079ad47506d0c0
parent6dfd523718e5879b9da5b95134572c9326b0dc80 (diff)
parent0f0ae92650b5477193455712247ec037ab91613e (diff)
downloadDoxygen-6df86cbfd41342495f65dd1e6eb143cba36a514e.zip
Doxygen-6df86cbfd41342495f65dd1e6eb143cba36a514e.tar.gz
Doxygen-6df86cbfd41342495f65dd1e6eb143cba36a514e.tar.bz2
Merge pull request #8360 from albert-github/feature/bug_extension_mapping
Extension during mapping not correctly replaced.
-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