RTL: Fix context regarded as bit-field value, resulted in wrong contexts get
keys swapped - Also RTL swap keys for CONTEXT_LIST git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23019 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
67059947a9
commit
694ea7e734
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ static int button_flip_horizontally(int context, int button)
|
|||
int newbutton;
|
||||
|
||||
if (!(lang_is_rtl() && ((context == CONTEXT_STD) ||
|
||||
(context & CONTEXT_TREE) || (context & CONTEXT_MAINMENU))))
|
||||
(context == CONTEXT_TREE) || (context == CONTEXT_LIST) ||
|
||||
(context == CONTEXT_MAINMENU))))
|
||||
{
|
||||
return button;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue