diff options
author | Martin Scarratt <mmmm@rockbox.org> | 2006-07-18 15:12:49 +0000 |
---|---|---|
committer | Martin Scarratt <mmmm@rockbox.org> | 2006-07-18 15:12:49 +0000 |
commit | aeefeab54b2d7d5127a05e12ff2329a023c08914 (patch) | |
tree | ebe38076c736335ba71c7cc2e6af8cfff3fbb2ba /apps | |
parent | da0525f54f0479f545bfe120f180ca14c256e28f (diff) | |
download | rockbox-aeefeab54b2d7d5127a05e12ff2329a023c08914.tar.gz rockbox-aeefeab54b2d7d5127a05e12ff2329a023c08914.zip |
Ensure long press of stop button in WPS stops play thanks to Slasheri and Amiconn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10233 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/gwps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index b369edaf34..1b19c13547 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c @@ -701,7 +701,7 @@ long gui_wps_show(void) #ifdef WPS_EXIT case WPS_EXIT: # ifdef WPS_EXIT_PRE - if (lastbutton != WPS_EXIT_PRE) + if ((lastbutton & ~BUTTON_REPEAT) != WPS_EXIT_PRE) break; # endif if (global_settings.party_mode) @@ -710,7 +710,7 @@ long gui_wps_show(void) #ifdef WPS_RC_EXIT case WPS_RC_EXIT: #ifdef WPS_RC_EXIT_PRE - if (lastbutton != WPS_RC_EXIT_PRE) + if ((lastbutton & ~BUTTON_REPEAT) != WPS_RC_EXIT_PRE) break; #endif if (global_settings.party_mode) |