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