summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dbtree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dbtree.c b/apps/dbtree.c
index 6e26ced23a..e18f17da2d 100644
--- a/apps/dbtree.c
+++ b/apps/dbtree.c
@@ -135,6 +135,7 @@ int db_load(struct tree_context* c, bool* dir_buffer_full)
if (!initialized) {
DEBUGF("ID3 database is not initialized.\n");
+ c->filesindir = 0;
return 0;
}