fix isC method (.C files are C code files)

This commit is contained in:
seb777 2011-10-26 22:54:00 +02:00
parent 43e9c1f0bd
commit aa74761e8d
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public:
return false;
const std::string::size_type pos = _files[0].rfind(".");
if (pos != std::string::npos)
return (_files[0].substr(pos) == ".c");
return (_files[0].substr(pos) == ".c") || (_files[0].substr(pos) == ".C");
return false;
}