summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-07-03 22:31:07 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-07-03 22:31:07 +0000
commitca20abf66a8255d76648b168044b396c6740e76f (patch)
tree958b6ebd3c6142a6416bf4940cb8f7574f452fbf
parentaea3affc6e70cb56cc7baec29897017a1f3fd2d1 (diff)
mrf... okay, i feel better now... findrundbentry does more than just check.. it has to be called...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7002 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/database.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/database.c b/apps/database.c
index 0ba7a2de0a..adcf9bb6aa 100644
--- a/apps/database.c
+++ b/apps/database.c
@@ -482,12 +482,12 @@ void loadruntimeinfo(struct mp3entry *id)
findrundbentry(id);
}
}
+ else
#ifdef ROCKBOX_HAS_LOGF
- else {
- if(!findrundbentry(id)) {
+ if(!findrundbentry(id))
logf("rundb:no entry and not found.");
- }
- }
+#else
+ findrundbentry(id);
#endif
}