diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-09-20 18:19:55 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-09-20 18:19:55 (GMT) |
commit | 6dbef217c477d43fb61e90b429531ee109bf0e75 (patch) | |
tree | c3964e8a42bc4dfecf5a99d6de94650878e67a0f /src/util.cpp | |
parent | 20bc00a80ad6bcda730a1762c3700c8f63fa16eb (diff) | |
download | Doxygen-6dbef217c477d43fb61e90b429531ee109bf0e75.zip Doxygen-6dbef217c477d43fb61e90b429531ee109bf0e75.tar.gz Doxygen-6dbef217c477d43fb61e90b429531ee109bf0e75.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); |