aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Lublin <daniel@lublin.se>2018-06-04 22:18:57 +0200
committerBert Münnich <ber.t@posteo.de>2018-06-09 11:44:47 +0200
commit6e696ba98c49715be8da2609f8a64be8a023547f (patch)
treecdac20a99634955c8982a8baabd3fea274cbc251 /main.c
parent8bf1adcd9a61cba1bcc9d35ac0b86a0785d2a7bd (diff)
downloadnsxiv-6e696ba98c49715be8da2609f8a64be8a023547f.tar.zst
Add mark range function
Sets the marked state of all images ranging from the latest marked/unmarked image to the current image, to the state of that latest toggled image.
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 a9c9c44..b362c3e 100644
--- a/main.c
+++ b/main.c
@@ -57,6 +57,7 @@ fileinfo_t *files;
int filecnt, fileidx;
int alternate;
int markcnt;
+int toggledidx = -1;
int prefix;
bool extprefix;