summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2006-07-04 16:43:44 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2006-07-04 16:43:44 +0000
commit8436d41b38045682c0c7377b2f0155f69a12862e (patch)
treef6c820f0a06a2addd190083a814eedee4456f5d6
parentde1de96808ac5a64c023b876d8922e983d844d46 (diff)
downloadrockbox-8436d41b38045682c0c7377b2f0155f69a12862e.tar.gz
rockbox-8436d41b38045682c0c7377b2f0155f69a12862e.zip
Fix party mode which I broke recently. Thanks to Steve Bavin for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10184 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 0322c3933a..e5f4151891 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -644,9 +644,11 @@ static bool dirbrowse(void)
/* Stop the music if it is playing */
if(audio_status()) {
if (!global_settings.party_mode)
+ {
if (global_settings.fade_on_stop)
fade(0);
audio_stop();
+ }
}
#if defined(CONFIG_CHARGING) && \
(CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF)