summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index c6da126..1485246 100644
--- a/main.c
+++ b/main.c
@@ -323,6 +323,7 @@ void load_image(int new)
bool mark_image(int n, bool on)
{
+ markidx = n;
if (!!(files[n].flags & FF_MARK) != on) {
files[n].flags ^= FF_MARK;
markcnt += on ? 1 : -1;