From 984748ba7e2cff0eb7c8f77e6546dae7997f89fb Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 29 Jan 2021 14:53:11 -0500 Subject: fix bug in calcrom get_files function --- .travis/calcrom/calcrom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3