diff options
author | pommicket <pommicket@gmail.com> | 2023-01-01 12:05:48 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-01 12:05:48 -0500 |
commit | 8308d6fc53ee339a0b5cac4b9b837179c61efbaa (patch) | |
tree | e4f94a5695e9d5cf035582799738dc2e75c0e779 /ui.c | |
parent | 57834dc0b116a62b806781ddec101bca4cda3abb (diff) |
more reorganizing
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -447,7 +447,7 @@ static char *file_selector_update(Ted *ted, FileSelector *fs) { bool increment = true; for (u32 i = 0; i < nfiles; i += increment, increment = true) { // remove if the file name does not contain the search term, - bool remove = search_term && *search_term && !stristr(files[i]->name, search_term); + bool remove = search_term && *search_term && !strstr_case_insensitive(files[i]->name, search_term); // or if this is just the current directory remove |= streq(files[i]->name, "."); if (remove) { |