aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 81b52c4..aa9775d 100644
--- a/main.c
+++ b/main.c
@@ -57,7 +57,7 @@ fileinfo_t *files;
int filecnt, fileidx;
int alternate;
int markcnt;
-int toggledidx;
+int markidx;
int prefix;
bool extprefix;
@@ -159,8 +159,8 @@ void remove_file(int n, bool manual)
fileidx--;
if (n < alternate)
alternate--;
- if (n < toggledidx)
- toggledidx--;
+ if (n < markidx)
+ markidx--;
}
void set_timeout(timeout_f handler, int time, bool overwrite)