Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- === modified file 'apps/gui/yesno.c'
- --- apps/gui/yesno.c 2010-04-11 11:28:02 +0000
- +++ apps/gui/yesno.c 2010-05-04 15:54:40 +0000
- @@ -153,6 +153,13 @@
- screens[i].stop_scroll();
- gui_yesno_draw(&(yn[i]));
- }
- +
- + /* Tell action system to wait for any pressed buttons to be released before
- + * considering it a keypress. This stops the release of whatever button
- + * caused the yesno prompt to appear from being considered as a no.
- + */
- + action_wait_for_release();
- +
- while (result==-1)
- {
- /* Repeat the question every 5secs (more or less) */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement