mirror of
https://codeberg.org/nsxiv/nsxiv
synced 2024-11-15 12:13:10 +00:00
Remove unnecessary special cases in cg_mark_range
This commit is contained in:
parent
7efcf55a5f
commit
cc476be7cc
@ -218,11 +218,6 @@ bool cg_mark_range(arg_t _)
|
|||||||
{
|
{
|
||||||
int i, from, to;
|
int i, from, to;
|
||||||
|
|
||||||
if (toggledidx < 0)
|
|
||||||
return true;
|
|
||||||
if (toggledidx == fileidx)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
from = toggledidx;
|
from = toggledidx;
|
||||||
to = fileidx;
|
to = fileidx;
|
||||||
if (fileidx < toggledidx) {
|
if (fileidx < toggledidx) {
|
||||||
|
Loading…
Reference in New Issue
Block a user