diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-09-20 18:19:55 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-09-20 18:19:55 (GMT) |
commit | a80f9320bf9fdd879869cee2cea1ec3f9af822f8 (patch) | |
tree | c3964e8a42bc4dfecf5a99d6de94650878e67a0f /src/util.cpp | |
parent | ce8facca2c23f4656747ad3a5b4a8db475855e27 (diff) | |
download | Doxygen-a80f9320bf9fdd879869cee2cea1ec3f9af822f8.zip Doxygen-a80f9320bf9fdd879869cee2cea1ec3f9af822f8.tar.gz Doxygen-a80f9320bf9fdd879869cee2cea1ec3f9af822f8.tar.bz2 |
Release-1.7.1-20100920
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index d31781b..b2d026f 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -6445,7 +6445,7 @@ bool updateLanguageMapping(const QCString &extension,const QCString &language) // found the language SrcLangExt parserId = p->parserId; - QCString extName = extension; + QCString extName = extension.lower(); if (extName.isEmpty()) return FALSE; if (extName.at(0)!='.') extName.prepend("."); if (g_extLookup.find(extension)!=0) // language was already register for this ext @@ -6499,7 +6499,7 @@ SrcLangExt getLanguageFromFileName(const QCString fileName) int i = fileName.findRev('.'); if (i!=-1) // name has an extension { - QCString extStr=fileName.right(fileName.length()-i); + QCString extStr=fileName.right(fileName.length()-i).lower(); if (!extStr.isEmpty()) // non-empty extension { int *pVal=g_extLookup.find(extStr); |