Fix cg_mark_range after removing images from file list
This commit is contained in:
parent
cc476be7cc
commit
1e5cc7e382
2
main.c
2
main.c
|
@ -159,6 +159,8 @@ void remove_file(int n, bool manual)
|
||||||
fileidx--;
|
fileidx--;
|
||||||
if (n < alternate)
|
if (n < alternate)
|
||||||
alternate--;
|
alternate--;
|
||||||
|
if (n < toggledidx)
|
||||||
|
toggledidx--;
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_timeout(timeout_f handler, int time, bool overwrite)
|
void set_timeout(timeout_f handler, int time, bool overwrite)
|
||||||
|
|
Loading…
Reference in a new issue