forked from len0rd/rockbox
[BugFix] OpenPlugins wrong plugin lang id
Failing to use ID2P caused the lang id to be off by VIRT_PTR Change-Id: Ibbabaae6c1fe130af4053ef3ebe2b1aa69530466
This commit is contained in:
parent
dbebbcfed1
commit
10923de8fe
1 changed files with 2 additions and 2 deletions
|
@ -795,13 +795,13 @@ static int load_plugin_screen(char *key)
|
||||||
{
|
{
|
||||||
if(op_entry->lang_id == LANG_OPEN_PLUGIN)
|
if(op_entry->lang_id == LANG_OPEN_PLUGIN)
|
||||||
{
|
{
|
||||||
if (key == (char*)LANG_SHORTCUTS)
|
if (key == (char*)ID2P(LANG_SHORTCUTS))
|
||||||
{
|
{
|
||||||
op_entry->lang_id = LANG_SHORTCUTS;
|
op_entry->lang_id = LANG_SHORTCUTS;
|
||||||
}
|
}
|
||||||
else /* Bugfix ensure proper key */
|
else /* Bugfix ensure proper key */
|
||||||
{
|
{
|
||||||
key = (char*)LANG_OPEN_PLUGIN;
|
key = ID2P(LANG_OPEN_PLUGIN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue