aboutsummaryrefslogtreecommitdiffstats
path: root/main.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 /main.c
parent1613b42411788810d73252ac86952b3e66c866ba (diff)
downloadnsxiv-e6c9218319b82b875ffb0c15dd88f8f6e77c50e2.tar.zst
Don't skip dot files when cleaning cache
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 1485246..5a13403 100644
--- a/main.c
+++ b/main.c
@@ -889,7 +889,7 @@ int main(int argc, char **argv)
continue;
}
start = fileidx;
- while ((filename = r_readdir(&dir)) != NULL) {
+ while ((filename = r_readdir(&dir, true)) != NULL) {
check_add_file(filename, false);
free((void*) filename);
}