Fix missed buttons in action.c if action_wait_for_release() was called
commit54e6bafada0f0b55246e208c3ffb85394756135f
authorThomas Martitz <kugel@rockbox.org>
Wed, 18 Jul 2012 08:25:32 +0000 (18 10:25 +0200)
committerThomas Martitz <kugel@rockbox.org>
Wed, 15 Aug 2012 21:08:26 +0000 (15 23:08 +0200)
treeb68be330724ebab3cf105417c9025a18423b1795
parent3c002659fb80d56a3f0ae30b282a9ada5a028c32
Fix missed buttons in action.c if action_wait_for_release() was called
with no button pressed.

If e.g. two yesno screens directly follow each other the button release of the
first one was incorrectly accepted in the second one. The fix exposed another
problem in action.c if action_wait_for_release() is called when no button is
actually pressed. The next press was silently eaten.

This time re-introducing FS#12723 is avoided by leaving the offending hunk
out in yesno.c.

Change-Id: Icfe57375067f51f5c8177f3585cd47ceec9dcf0d
apps/action.c
apps/gui/yesno.c