BUGFIX root_menu.c

Change-Id: Ie6268c63f5ed5197d2da678851b4bfdf7764252c
This commit is contained in:
William Wilgus 2022-03-18 19:45:01 -04:00
parent b31444261e
commit a5e684c894

View file

@ -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)