summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2023-11-25 03:21:09 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2023-11-25 03:21:09 -0500
commit4e53ec80b55ff7a342f6ad9a3da2ad0dc2ef16f9 (patch)
treef4d67b7ccdb12c38ed2403a9f0c35424ccdd5f4b
parent40e685fb7138dbd56855769c3bcd5568f0819f3c (diff)
downloadrockbox-4e53ec80b5.tar.gz
rockbox-4e53ec80b5.zip
[Fix Yellow] root_menu.c
Change-Id: Ib13b54e3d7818746edfd0d13c37328bd90d23b22
-rw-r--r--apps/root_menu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index 360f8ae8ce..5709e7ac42 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -780,10 +780,9 @@ static int load_plugin_screen(char *key)
ret_val = GO_TO_WPS;
else if (ret == PLUGIN_GOTO_PLUGIN)
{
- if (key == ID2P(LANG_SHORTCUTS) &&
- op_entry->lang_id == ID2P(LANG_OPEN_PLUGIN))
+ if (key == (char*)LANG_SHORTCUTS && op_entry->lang_id == LANG_OPEN_PLUGIN)
{
- op_entry->lang_id = ID2P(LANG_SHORTCUTS);
+ op_entry->lang_id = LANG_SHORTCUTS;
}
continue;
}