Skip to content

Commit

Permalink
Bug 720691 - Code coloring in case of file without extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Jan 2, 2014
1 parent ab453a2 commit 45934e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parserintf.h
Expand Up @@ -184,8 +184,8 @@ class ParserManager
*/
ParserInterface *getParser(const char *extension)
{
if (extension==0) return m_defaultParser;
QCString ext = QCString(extension).lower();
if (ext.isEmpty()) ext=".no_extension";
ParserInterface *intf = m_extensions.find(ext);
if (intf==0 && ext.length()>4)
{
Expand Down

0 comments on commit 45934e8

Please sign in to comment.