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
This commit is contained in:
Linus Nielsen Feltzing 2006-10-22 07:51:03 +00:00
parent 0cc8b7113c
commit 9f29086b2c

View file

@ -1399,7 +1399,7 @@ static bool audioscrobbler(void)
if (!scrobbler_is_enabled() && global_settings.audioscrobbler)
gui_syncsplash(HZ*2, true, str(LANG_PLEASE_REBOOT));
if(!result)
if(scrobbler_is_enabled() && !global_settings.audioscrobbler)
scrobbler_shutdown();
return result;