From c92b2cc16a8324b71e874e96cc828589b9f586fd Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 9 Jun 2010 09:41:16 +0000 Subject: fix a fun infinite loop when follow playlist is on and you started playback from PF and stopped it inside the WPS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26718 a1c6a512-1295-4272-9138-f99709370657 --- apps/root_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/root_menu.c b/apps/root_menu.c index c2f36892da..53c522a773 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -556,7 +556,7 @@ static int load_plugin_screen(char *plug_path) ret_val = plugin_load(plug_path, NULL); if (ret_val == PLUGIN_OK) - ret_val = GO_TO_PREVIOUS; + ret_val = audio_status() ? GO_TO_PREVIOUS : GO_TO_ROOT; if (ret_val == GO_TO_PREVIOUS) last_screen = (old_previous == next_screen) ? GO_TO_ROOT : old_previous; return ret_val; -- cgit v1.2.3