diff options
author | Bert Münnich <ber.t@posteo.de> | 2018-06-09 11:52:48 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2018-06-09 11:52:48 +0200 |
commit | cc476be7ccdcb573eb045f791091bd956dd88a26 (patch) | |
tree | 34df0ae31112446229823dfd21de9446270a8219 | |
parent | 7efcf55a5f8b37150b1e5fa7724b1fd9853a7a3c (diff) |
Remove unnecessary special cases in cg_mark_range
-rw-r--r-- | commands.c | 5 | ||||
-rw-r--r-- | main.c | 2 |
2 files changed, 1 insertions, 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) { @@ -57,7 +57,7 @@ fileinfo_t *files; int filecnt, fileidx; int alternate; int markcnt; -int toggledidx = -1; +int toggledidx; int prefix; bool extprefix; |