From 775645e649aca4cccd8473de857deb19c5fcfb82 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 18 Mar 2021 13:23:24 -0400 Subject: [PATCH] Shortcuts.c fix regression from last bugfix wiped out the lang id check which causes shortcuts menu to pop error message when browsing to folders shortcut menu uses the return to check for validity Change-Id: I30061f034f99ea66844e45ea842e52843ea6062b --- apps/open_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/open_plugin.c b/apps/open_plugin.c index 2e9975adea..c64661f2e6 100644 --- a/apps/open_plugin.c +++ b/apps/open_plugin.c @@ -137,7 +137,7 @@ uint32_t open_plugin_add_path(const char *key, const char *plugin, const char *p if (!is_valid) { - if (open_plugin_entry.lang_id != LANG_SHORTCUTS) + if (lang_id != LANG_SHORTCUTS) /* from shortcuts menu */ splashf(HZ / 2, str(LANG_OPEN_PLUGIN_NOT_A_PLUGIN), pos); op_clear_entry(&open_plugin_entry); hash = 0;