aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands.c5
-rw-r--r--main.c2
2 files changed, 1 insertions, 6 deletions
diff --git a/commands.c b/commands.c
index 33ae5a3..4ba7d3d 100644
--- a/commands.c
+++ b/commands.c
@@ -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) {
diff --git a/main.c b/main.c
index b362c3e..ae7f853 100644
--- a/main.c
+++ b/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;