summaryrefslogtreecommitdiffstats
path: root/apps/bookmark.c
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2007-08-22 16:33:34 +0000
committerMagnus Holmgren <magnushol@gmail.com>2007-08-22 16:33:34 +0000
commita50c2b149497c3213e0d52c5572a70008de13cb6 (patch)
treefe77f778dcd3f60bef66f670025ad873ce540c59 /apps/bookmark.c
parent9295e0a489101f040ea1dcafb35ca89e97a37315 (diff)
downloadrockbox-a50c2b149497c3213e0d52c5572a70008de13cb6.tar.gz
rockbox-a50c2b149497c3213e0d52c5572a70008de13cb6.tar.bz2
rockbox-a50c2b149497c3213e0d52c5572a70008de13cb6.zip
Apply fix from FS#6341, with some changes by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14430 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/bookmark.c')
-rw-r--r--apps/bookmark.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c
index fa1bd4751d..b2c2713716 100644
--- a/apps/bookmark.c
+++ b/apps/bookmark.c
@@ -1014,9 +1014,8 @@ bool bookmark_exist(void)
static bool system_check(void)
{
int resume_index = 0;
- struct mp3entry *id3 = audio_current_track();
- if (!id3)
+ if (!(audio_status() && audio_current_track()))
{
/* no track playing */
return false;