Minor reformat

This commit is contained in:
Arun Prakash Jana 2019-10-24 11:53:34 +05:30
parent 5734f49126
commit cb916661c8
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -4667,13 +4667,12 @@ nochange:
selendid = ndents - 1; selendid = ndents - 1;
} }
for (r = selstartid; r <= selendid; ++r) { for (r = selstartid; r <= selendid; ++r)
if (!(dents[r].flags & FILE_SELECTED)) { if (!(dents[r].flags & FILE_SELECTED)) {
appendfpath(newpath, mkpath(path, dents[r].name, newpath)); appendfpath(newpath, mkpath(path, dents[r].name, newpath));
dents[r].flags |= FILE_SELECTED; dents[r].flags |= FILE_SELECTED;
++nselected; ++nselected;
} }
}
/* Show the range count */ /* Show the range count */
//r = selendid - selstartid + 1; //r = selendid - selstartid + 1;
@ -4948,10 +4947,7 @@ nochange:
goto nochange; goto nochange;
mkpath(plugindir, tmp, newpath); mkpath(plugindir, tmp, newpath);
if (ndents) spawn(newpath, (ndents ? dents[cur].name : NULL), path, path, F_NORMAL);
spawn(newpath, dents[cur].name, path, path, F_NORMAL);
else
spawn(newpath, NULL, path, path, F_NORMAL);
if (cfg.filtermode) if (cfg.filtermode)
presel = FILTER; presel = FILTER;