summaryrefslogtreecommitdiff
path: root/apps/root_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r--apps/root_menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index 2eab43f504..a67bb41cde 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -848,7 +848,8 @@ void root_menu(void)
848 } 848 }
849 } 849 }
850 850
851 bool flush = (open_plugin_get_entry(key, &open_plugin_entry) == -2); 851 int opret = open_plugin_get_entry(key, &open_plugin_entry);
852 bool flush = (opret == OPEN_PLUGIN_NEEDS_FLUSHED);
852 char *path = open_plugin_entry.path; 853 char *path = open_plugin_entry.path;
853 char *param = open_plugin_entry.param; 854 char *param = open_plugin_entry.param;
854 if (param[0] == '\0') 855 if (param[0] == '\0')