summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2005-01-17 22:48:03 +0000
committerBjörn Stenberg <bjorn@haxx.se>2005-01-17 22:48:03 +0000
commit5e1ec2372c9624b22ad398dbfe5efdacd5cc9fbe (patch)
tree8bcf13f9ddb451c389ecfd22edff14f8d16377b7 /apps
parentcced503712e73dc8b0bc9377cab271dc110200ff (diff)
downloadrockbox-5e1ec2372c9624b22ad398dbfe5efdacd5cc9fbe.tar.gz
rockbox-5e1ec2372c9624b22ad398dbfe5efdacd5cc9fbe.tar.bz2
rockbox-5e1ec2372c9624b22ad398dbfe5efdacd5cc9fbe.zip
No files in dir if database not initialised.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5591 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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;
}