presel = 0;
break;
}
-
goto nochange;
case SEL_MFLTR: // fallthrough
case SEL_TOGGLEDOT: // fallthrough
/* Save current */
if (ndents)
copycurname();
-
/* Repopulate as directory content may have changed */
goto begin;
}
appendfpath(newpath, mkpath(path, dents[cur].name, newpath));
writesel(pselbuf, selbufpos - 1); /* Truncate NULL from end */
} else {
- --nselected;
selbufpos = lastappendpos;
-
- if (nselected) {
+ if (--nselected) {
updateselbuf(path, newpath);
writesel(pselbuf, selbufpos - 1); /* Truncate NULL from end */
} else
presel = FILTER;
break;
}
-
goto nochange;
case SEL_SELEDIT:
r = editselection();
/* Save current */
if (ndents)
copycurname();
-
/* Repopulate as directory content may have changed */
goto begin;
case SEL_ARCHIVEOPS: