aboutsummaryrefslogtreecommitdiff
path: root/thumbs.c
diff options
context:
space:
mode:
authorKacper Gutowski <klg@mmax.one.pl>2018-07-05 03:39:27 +0200
committerBert Münnich <ber.t@posteo.de>2018-07-30 10:28:35 +0200
commite6c9218319b82b875ffb0c15dd88f8f6e77c50e2 (patch)
treef510779fd20d4d7a1affbd9256e8faba46a93da2 /thumbs.c
parent1613b42411788810d73252ac86952b3e66c866ba (diff)
Don't skip dot files when cleaning cache
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 37be29f..b9320e7 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -131,7 +131,7 @@ void tns_clean_cache(tns_t *tns)
dirlen = strlen(cache_dir);
- while ((cfile = r_readdir(&dir)) != NULL) {
+ while ((cfile = r_readdir(&dir, false)) != NULL) {
filename = cfile + dirlen;
delete = false;