1
0
Fork 0
forked from len0rd/rockbox

[Fix Yellow] root_menu.c

Change-Id: Ib13b54e3d7818746edfd0d13c37328bd90d23b22
This commit is contained in:
William Wilgus 2023-11-25 03:21:09 -05:00
parent 40e685fb71
commit 4e53ec80b5

View file

@ -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;
}