Commit d421579d authored by rswindell's avatar rswindell
Browse files

Fixed bug in search mode.

parent 0e2e611e
......@@ -215,7 +215,9 @@ void addlist(char *inpath, file_t f, uint dskip, uint sskip)
dir=opendir(str);
while(dir!=NULL && (dirent=readdir(dir))!=NULL) {
sprintf(tmp,"%s%s",str,dirent->d_name);
sprintf(tmp,"%s%s"
,cur_altpath ? scfg.altpath[cur_altpath-1] : scfg.dir[f.dir]->path
,dirent->d_name);
if(isdir(tmp))
continue;
#ifdef _WIN32
......
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