diff options
author | Wieland Hoffmann <themineo@gmail.com> | 2011-09-20 19:33:04 +0200 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-01-28 14:17:52 +0100 |
commit | 94177e6c3b026627a0a8321c053e26889b065d88 (patch) | |
tree | dd16311b480cb13c1b5dbb64b1112a4279bdef2f /apps | |
parent | 3019a803076ea98447b431cf9258117108c2c5ce (diff) | |
download | rockbox-94177e6c3b026627a0a8321c053e26889b065d88.tar.gz rockbox-94177e6c3b026627a0a8321c053e26889b065d88.zip |
Use is_keys_locked when possible
Change-Id: Ib0ae0f31a8b040aba5dca4e11df934c89aaca232
Reviewed-on: http://gerrit.rockbox.org/73
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/action.c b/apps/action.c index 44980cdd9e..3747a7521e 100644 --- a/apps/action.c +++ b/apps/action.c | |||
@@ -265,7 +265,7 @@ static int get_action_worker(int context, int timeout, | |||
265 | last_context = context; | 265 | last_context = context; |
266 | #ifndef HAS_BUTTON_HOLD | 266 | #ifndef HAS_BUTTON_HOLD |
267 | screen_has_lock = ((context & ALLOW_SOFTLOCK) == ALLOW_SOFTLOCK); | 267 | screen_has_lock = ((context & ALLOW_SOFTLOCK) == ALLOW_SOFTLOCK); |
268 | if (screen_has_lock && keys_locked) | 268 | if (is_keys_locked()) |
269 | { | 269 | { |
270 | if (button == unlock_combo) | 270 | if (button == unlock_combo) |
271 | { | 271 | { |