Use is_keys_locked when possible
Change-Id: Ib0ae0f31a8b040aba5dca4e11df934c89aaca232 Reviewed-on: http://gerrit.rockbox.org/73 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
This commit is contained in:
parent
3019a80307
commit
94177e6c3b
2 changed files with 2 additions and 1 deletions
|
@ -265,7 +265,7 @@ static int get_action_worker(int context, int timeout,
|
||||||
last_context = context;
|
last_context = context;
|
||||||
#ifndef HAS_BUTTON_HOLD
|
#ifndef HAS_BUTTON_HOLD
|
||||||
screen_has_lock = ((context & ALLOW_SOFTLOCK) == ALLOW_SOFTLOCK);
|
screen_has_lock = ((context & ALLOW_SOFTLOCK) == ALLOW_SOFTLOCK);
|
||||||
if (screen_has_lock && keys_locked)
|
if (is_keys_locked())
|
||||||
{
|
{
|
||||||
if (button == unlock_combo)
|
if (button == unlock_combo)
|
||||||
{
|
{
|
||||||
|
|
|
@ -613,6 +613,7 @@ Jean-Louis Biasini
|
||||||
Lorenzo Miori
|
Lorenzo Miori
|
||||||
James Hunt
|
James Hunt
|
||||||
Artur Juraszek
|
Artur Juraszek
|
||||||
|
Wieland Hoffmann
|
||||||
|
|
||||||
The libmad team
|
The libmad team
|
||||||
The wavpack team
|
The wavpack team
|
||||||
|
|
Loading…
Reference in a new issue