summaryrefslogtreecommitdiff
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-a5e684c894cd9e1cb20f4afffe0502d15a9e5550.tar.gz
rockbox-a5e684c894cd9e1cb20f4afffe0502d15a9e5550.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)
735 continue; 735 continue;
736 else 736 else
737 { 737 {
738 ret_val = GO_TO_PREVIOUS;
738 /* Prevents infinite loop with WPS, Plugins, Previous Screen*/ 739 /* Prevents infinite loop with WPS, Plugins, Previous Screen*/
739 if (ret == PLUGIN_OK && old_global == GO_TO_WPS && !audio_status()) 740 if (ret == PLUGIN_OK && old_global == GO_TO_WPS && !audio_status())
740 ret_val = GO_TO_ROOT; 741 ret_val = GO_TO_ROOT;
741 ret_val = GO_TO_PREVIOUS;
742 last_screen = (old_previous == next_screen || old_global == GO_TO_ROOT) 742 last_screen = (old_previous == next_screen || old_global == GO_TO_ROOT)
743 ? GO_TO_ROOT : old_previous; 743 ? GO_TO_ROOT : old_previous;
744 if (last_screen == GO_TO_ROOT) 744 if (last_screen == GO_TO_ROOT)