summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2018-06-09 11:52:48 +0200
committerBert Münnich <ber.t@posteo.de>2018-06-09 11:52:48 +0200
commitcc476be7ccdcb573eb045f791091bd956dd88a26 (patch)
tree34df0ae31112446229823dfd21de9446270a8219 /commands.c
parent7efcf55a5f8b37150b1e5fa7724b1fd9853a7a3c (diff)
downloadnsxiv-cc476be7ccdcb573eb045f791091bd956dd88a26.tar.zst
Remove unnecessary special cases in cg_mark_range
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c5
1 files changed, 0 insertions, 5 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) {