1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Martin Scarratt 2006-07-18 15:12:49 +00:00
parent da0525f54f
commit aeefeab54b

View file

@ -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)