mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Minor reformat
This commit is contained in:
parent
5734f49126
commit
cb916661c8
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue