Remove unnecessary special cases in cg_mark_range
This commit is contained in:
parent
7efcf55a5f
commit
cc476be7cc
2 changed files with 1 additions and 6 deletions
|
@ -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
2
main.c
|
@ -57,7 +57,7 @@ fileinfo_t *files;
|
|||
int filecnt, fileidx;
|
||||
int alternate;
|
||||
int markcnt;
|
||||
int toggledidx = -1;
|
||||
int toggledidx;
|
||||
|
||||
int prefix;
|
||||
bool extprefix;
|
||||
|
|
Loading…
Add table
Reference in a new issue