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
This commit is contained in:
Jonathan Gordon 2010-06-09 09:41:16 +00:00
parent edf06dc0b2
commit c92b2cc16a

View file

@ -556,7 +556,7 @@ static int load_plugin_screen(char *plug_path)
ret_val = plugin_load(plug_path, NULL); ret_val = plugin_load(plug_path, NULL);
if (ret_val == PLUGIN_OK) 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) if (ret_val == GO_TO_PREVIOUS)
last_screen = (old_previous == next_screen) ? GO_TO_ROOT : old_previous; last_screen = (old_previous == next_screen) ? GO_TO_ROOT : old_previous;
return ret_val; return ret_val;