forked from len0rd/rockbox
[Bugfix] Plugins run by START_IN_SCREEN won't open another plugin
PLUGIN_GOTO_PLUGIN was using old key instead Change-Id: If354bd441db7c0b0a476624c8c1dcb3d79f5d366
This commit is contained in:
parent
384c35418a
commit
22d921c55c
1 changed files with 9 additions and 2 deletions
|
@ -780,9 +780,16 @@ static int load_plugin_screen(char *key)
|
|||
ret_val = GO_TO_WPS;
|
||||
else if (ret == PLUGIN_GOTO_PLUGIN)
|
||||
{
|
||||
if (key == (char*)LANG_SHORTCUTS && op_entry->lang_id == LANG_OPEN_PLUGIN)
|
||||
if(op_entry->lang_id == LANG_OPEN_PLUGIN)
|
||||
{
|
||||
op_entry->lang_id = LANG_SHORTCUTS;
|
||||
if (key == (char*)LANG_SHORTCUTS)
|
||||
{
|
||||
op_entry->lang_id = LANG_SHORTCUTS;
|
||||
}
|
||||
else /* Bugfix ensure proper key */
|
||||
{
|
||||
key = (char*)LANG_OPEN_PLUGIN;
|
||||
}
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue