summaryrefslogtreecommitdiffstats
path: root/thumbs.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@gmx.com>2012-02-14 22:12:09 +0100
committerBert Münnich <ber.t@gmx.com>2012-02-14 22:12:09 +0100
commitb410c022a881b98c69639dcca039863dea95de83 (patch)
treee3342dcedf451432168aa91fd6f2a30df7b1b12e /thumbs.c
parent7177270c10b51f60753f45070565ac2fb7e130db (diff)
downloadnsxiv-b410c022a881b98c69639dcca039863dea95de83.tar.zst
Fix recreation of thumbnail cache file after manual reload
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thumbs.c b/thumbs.c
index 10b2fc8..31a1f89 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -271,7 +271,7 @@ bool tns_load(tns_t *tns, int n, const fileinfo_t *file,
imlib_free_image_and_decache();
if (use_cache && !cache_hit)
- tns_cache_write(t, false);
+ tns_cache_write(t, true);
tns->dirty = true;
return true;