diff options
author | Björn Stenberg <bjorn@haxx.se> | 2005-01-17 22:48:03 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2005-01-17 22:48:03 +0000 |
commit | 5e1ec2372c9624b22ad398dbfe5efdacd5cc9fbe (patch) | |
tree | 8bcf13f9ddb451c389ecfd22edff14f8d16377b7 /apps/dbtree.c | |
parent | cced503712e73dc8b0bc9377cab271dc110200ff (diff) | |
download | rockbox-5e1ec2372c9624b22ad398dbfe5efdacd5cc9fbe.tar.gz 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/dbtree.c')
-rw-r--r-- | apps/dbtree.c | 1 |
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) | |||
135 | 135 | ||
136 | if (!initialized) { | 136 | if (!initialized) { |
137 | DEBUGF("ID3 database is not initialized.\n"); | 137 | DEBUGF("ID3 database is not initialized.\n"); |
138 | c->filesindir = 0; | ||
138 | return 0; | 139 | return 0; |
139 | } | 140 | } |
140 | 141 | ||