summaryrefslogtreecommitdiffstats
path: root/apps/action.c
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-08 22:19:36 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-08 22:19:36 +0000
commit694ea7e7344e5242ac5ca662cc2f120f02e324af (patch)
treed7ef6a40dad3de94fa911fc486a24235ba66fd5f /apps/action.c
parent67059947a9989e15889049421594805e0ccbb0a5 (diff)
downloadrockbox-694ea7e7344e5242ac5ca662cc2f120f02e324af.tar.gz
rockbox-694ea7e7344e5242ac5ca662cc2f120f02e324af.tar.bz2
rockbox-694ea7e7344e5242ac5ca662cc2f120f02e324af.zip
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
Diffstat (limited to 'apps/action.c')
-rw-r--r--apps/action.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/action.c b/apps/action.c
index f65ef39bf0..fc10c927e5 100644
--- a/apps/action.c
+++ b/apps/action.c
@@ -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;
}