summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-03-18 19:45:01 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2022-03-18 19:45:01 -0400
commita5e684c894cd9e1cb20f4afffe0502d15a9e5550 (patch)
tree8f2293620ec1d8d849c1173e357a7d1cdb039c7a
parentb31444261e18ca97af8c23532048edc596ac1fc3 (diff)
downloadrockbox-a5e684c894.tar.gz
rockbox-a5e684c894.zip
BUGFIX root_menu.c
Change-Id: Ie6268c63f5ed5197d2da678851b4bfdf7764252c
-rw-r--r--apps/root_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index c10064499c..80a84d9d49 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -735,10 +735,10 @@ static int load_plugin_screen(char *key)
continue;
else
{
+ ret_val = GO_TO_PREVIOUS;
/* Prevents infinite loop with WPS, Plugins, Previous Screen*/
if (ret == PLUGIN_OK && old_global == GO_TO_WPS && !audio_status())
ret_val = GO_TO_ROOT;
- ret_val = GO_TO_PREVIOUS;
last_screen = (old_previous == next_screen || old_global == GO_TO_ROOT)
? GO_TO_ROOT : old_previous;
if (last_screen == GO_TO_ROOT)