Don't skip dot files when cleaning cache

This commit is contained in:
Kacper Gutowski
2018-07-05 03:39:27 +02:00
committed by Bert Münnich
parent 1613b42411
commit e6c9218319
4 changed files with 12 additions and 6 deletions

2
main.c
View File

@ -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);
}