summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-10-22 07:51:03 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-10-22 07:51:03 +0000
commit9f29086b2c0ef5cccd85cf53aa6fa7ee501b8dc7 (patch)
tree32dafbf4bef716d82026bd2e525c715176c21d89 /apps
parent0cc8b7113c9b33ee752c33d36a2cd593aae42705 (diff)
downloadrockbox-9f29086b2c0ef5cccd85cf53aa6fa7ee501b8dc7.tar.gz
rockbox-9f29086b2c0ef5cccd85cf53aa6fa7ee501b8dc7.zip
Patch #6218 by Robert Keevil - fix erroneous scrobbler_shutdown() call when cancelling the Last.fm setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11308 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 0193aa0102..b66104220f 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -1399,7 +1399,7 @@ static bool audioscrobbler(void)
1399 if (!scrobbler_is_enabled() && global_settings.audioscrobbler) 1399 if (!scrobbler_is_enabled() && global_settings.audioscrobbler)
1400 gui_syncsplash(HZ*2, true, str(LANG_PLEASE_REBOOT)); 1400 gui_syncsplash(HZ*2, true, str(LANG_PLEASE_REBOOT));
1401 1401
1402 if(!result) 1402 if(scrobbler_is_enabled() && !global_settings.audioscrobbler)
1403 scrobbler_shutdown(); 1403 scrobbler_shutdown();
1404 1404
1405 return result; 1405 return result;