mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Minor edits
This commit is contained in:
parent
f73f79d5de
commit
2f6a4dd8ee
|
@ -4684,7 +4684,6 @@ nochange:
|
||||||
presel = 0;
|
presel = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
goto nochange;
|
goto nochange;
|
||||||
case SEL_MFLTR: // fallthrough
|
case SEL_MFLTR: // fallthrough
|
||||||
case SEL_TOGGLEDOT: // fallthrough
|
case SEL_TOGGLEDOT: // fallthrough
|
||||||
|
@ -4829,7 +4828,6 @@ nochange:
|
||||||
/* Save current */
|
/* Save current */
|
||||||
if (ndents)
|
if (ndents)
|
||||||
copycurname();
|
copycurname();
|
||||||
|
|
||||||
/* Repopulate as directory content may have changed */
|
/* Repopulate as directory content may have changed */
|
||||||
goto begin;
|
goto begin;
|
||||||
}
|
}
|
||||||
|
@ -4849,10 +4847,8 @@ nochange:
|
||||||
appendfpath(newpath, mkpath(path, dents[cur].name, newpath));
|
appendfpath(newpath, mkpath(path, dents[cur].name, newpath));
|
||||||
writesel(pselbuf, selbufpos - 1); /* Truncate NULL from end */
|
writesel(pselbuf, selbufpos - 1); /* Truncate NULL from end */
|
||||||
} else {
|
} else {
|
||||||
--nselected;
|
|
||||||
selbufpos = lastappendpos;
|
selbufpos = lastappendpos;
|
||||||
|
if (--nselected) {
|
||||||
if (nselected) {
|
|
||||||
updateselbuf(path, newpath);
|
updateselbuf(path, newpath);
|
||||||
writesel(pselbuf, selbufpos - 1); /* Truncate NULL from end */
|
writesel(pselbuf, selbufpos - 1); /* Truncate NULL from end */
|
||||||
} else
|
} else
|
||||||
|
@ -4940,7 +4936,6 @@ nochange:
|
||||||
presel = FILTER;
|
presel = FILTER;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
goto nochange;
|
goto nochange;
|
||||||
case SEL_SELEDIT:
|
case SEL_SELEDIT:
|
||||||
r = editselection();
|
r = editselection();
|
||||||
|
@ -5292,7 +5287,6 @@ nochange:
|
||||||
/* Save current */
|
/* Save current */
|
||||||
if (ndents)
|
if (ndents)
|
||||||
copycurname();
|
copycurname();
|
||||||
|
|
||||||
/* Repopulate as directory content may have changed */
|
/* Repopulate as directory content may have changed */
|
||||||
goto begin;
|
goto begin;
|
||||||
case SEL_ARCHIVEOPS:
|
case SEL_ARCHIVEOPS:
|
||||||
|
|
Loading…
Reference in a new issue