From 5e1ec2372c9624b22ad398dbfe5efdacd5cc9fbe Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 17 Jan 2005 22:48:03 +0000 Subject: No files in dir if database not initialised. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5591 a1c6a512-1295-4272-9138-f99709370657 --- apps/dbtree.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit