diff options
author | Max <34987259+mparisi20@users.noreply.github.com> | 2021-01-29 15:01:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 15:01:07 -0500 |
commit | f8eea1781835757af03f64e4493c3657ab2ff7f1 (patch) | |
tree | f8ea9aeb5bb4839e8ffcb700c8d1df1709fb918d | |
parent | 626e786520085a5bba5acb8b1147ff7a9c6e6c42 (diff) | |
parent | 8d8c6cec7d47689b7ef296b138d9d76153cd023e (diff) |
Merge pull request #164 from mparisi20/master
fix bug in calcrom get_files function
-rw-r--r-- | .travis/calcrom/calcrom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/calcrom/calcrom.cpp b/.travis/calcrom/calcrom.cpp index d9c589b..586561a 100644 --- a/.travis/calcrom/calcrom.cpp +++ b/.travis/calcrom/calcrom.cpp @@ -48,7 +48,7 @@ get_files(const char *fpath, const struct stat *sb, if (tflag == FTW_F) { string fpath_s(fpath); string ext = fpath_s.substr(fpath_s.rfind('.'), 4); - if (ext == ".c" || ext == ".cpp" || ".s") + if (ext == ".c" || ext == ".cpp" || ext == ".s") files.push_back(fpath_s); } return 0; |