1
0
Fork 0
forked from len0rd/rockbox

Fix: Skipping to previous/next track via remote works again. WPS_RC_(PREV|NEXT) must not depend on WPS_(PREV|NEXT)_PRE

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5336 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-10-24 20:27:33 +00:00
parent 9d4271eb3d
commit ce82d8b8c8

View file

@ -618,13 +618,13 @@ int wps_show(void)
break;
/* prev / restart */
#ifdef WPS_RC_PREV
case WPS_RC_PREV:
#endif
case WPS_PREV:
#ifdef WPS_PREV_PRE
if (lastbutton != WPS_PREV_PRE)
break;
#endif
#ifdef WPS_RC_PREV
case WPS_RC_PREV:
#endif
if (!id3 || (id3->elapsed < 3*1000)) {
mpeg_prev();
@ -641,13 +641,13 @@ int wps_show(void)
break;
/* next */
#ifdef WPS_RC_NEXT
case WPS_RC_NEXT:
#endif
case WPS_NEXT:
#ifdef WPS_NEXT_PRE
if (lastbutton != WPS_NEXT_PRE)
break;
#endif
#ifdef WPS_RC_NEXT
case WPS_RC_NEXT:
#endif
mpeg_next();
break;