diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-01-28 17:55:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 17:55:56 (GMT) |
commit | 6df86cbfd41342495f65dd1e6eb143cba36a514e (patch) | |
tree | 54b598f0bd7608522163e668f5079ad47506d0c0 | |
parent | 6dfd523718e5879b9da5b95134572c9326b0dc80 (diff) | |
parent | 0f0ae92650b5477193455712247ec037ab91613e (diff) | |
download | Doxygen-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.cpp | 2 |
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 |