Remove unnecessary special cases in cg_mark_range

This commit is contained in:
Bert Münnich 2018-06-09 11:52:48 +02:00
parent 7efcf55a5f
commit cc476be7cc
2 changed files with 1 additions and 6 deletions

View file

@ -218,11 +218,6 @@ bool cg_mark_range(arg_t _)
{
int i, from, to;
if (toggledidx < 0)
return true;
if (toggledidx == fileidx)
return true;
from = toggledidx;
to = fileidx;
if (fileidx < toggledidx) {

2
main.c
View file

@ -57,7 +57,7 @@ fileinfo_t *files;
int filecnt, fileidx;
int alternate;
int markcnt;
int toggledidx = -1;
int toggledidx;
int prefix;
bool extprefix;