fix isC method (.C files are C code files)
This commit is contained in:
parent
43e9c1f0bd
commit
aa74761e8d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue