summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)