aboutsummaryrefslogtreecommitdiffstats
path: root/nsxiv.h
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2024-06-18 17:08:37 +0200
committerNRK <nrk@disroot.org>2024-06-18 17:08:37 +0200
commit36d5b27fff21f4b8475a594dabbd7b59630c9bee (patch)
tree1d2a955bbde869d8231a83c0338510fda112d328 /nsxiv.h
parentfaf67fcc62307ad8847a78939d5ed222a53e5ea8 (diff)
downloadnsxiv-36d5b27fff21f4b8475a594dabbd7b59630c9bee.tar.zst
fix: -A not working (#503)
the imlib2 based multi-frame loader has not respected -A setting since it's introduction in commit 76c2b81b. also change multi.framedelay to `int` to avoid signedness change warning. Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/503 Reviewed-by: eylles <eylles@noreply.codeberg.org>
Diffstat (limited to 'nsxiv.h')
-rw-r--r--nsxiv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsxiv.h b/nsxiv.h
index fc0720c..978962e 100644
--- a/nsxiv.h
+++ b/nsxiv.h
@@ -180,7 +180,7 @@ typedef struct {
unsigned int cnt;
unsigned int sel;
bool animate;
- unsigned int framedelay;
+ int framedelay;
int length;
} multi_img_t;