fix erroneous button read in yesno screen and missed buttons in action.c.
commit15775c8badac65ad9d7477a1706c019703c15b47
authorThomas Martitz <kugel@rockbox.org>
Wed, 18 Jul 2012 08:25:32 +0000 (18 10:25 +0200)
committerThomas Martitz <kugel@rockbox.org>
Wed, 18 Jul 2012 08:28:08 +0000 (18 10:28 +0200)
tree8d8fa88d377d8cbca763cdd0cdfda7094fadf6c1
parentdf9bd8730ce8462324f64c49de0ae51584a19d9e
fix erroneous button read in yesno screen and missed buttons in action.c.

If 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.

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