From f2a3d73212ad63e1081278347c189f2554cab8a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Thu, 16 Aug 2012 13:40:04 +0200 Subject: New command: i_alternate, go to last image, issue #65 --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 2483d10..5f8a0ca 100644 --- a/main.c +++ b/main.c @@ -62,6 +62,7 @@ win_t win; fileinfo_t *files; int filecnt, fileidx; +int alternate; size_t filesize; int prefix; @@ -217,6 +218,7 @@ void load_image(int new) { } files[new].loaded = true; + alternate = fileidx; fileidx = new; if (stat(files[new].path, &fstats) == 0) filesize = fstats.st_size; -- cgit v1.2.3