Commit 53235542 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Search of word in descriptions should match filenames too.

Especially now that now all files even have descriptions (e.g. when super long filenames suffice).
parent fbbdb154
......@@ -146,6 +146,8 @@ int sbbs_t::listfiles(uint dirnum, const char *filespec, FILE* tofile, long mode
p = (f->desc == NULL) ? NULL : strcasestr(f->desc, filespec);
if(p == NULL)
p = strcasestr(f->name, filespec);
if(!(mode&FL_EXFIND) && p==NULL) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment