summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-10-24 20:27:33 +0000
committerJens Arnold <amiconn@rockbox.org>2004-10-24 20:27:33 +0000
commitce82d8b8c8f58aea53f34f5c843cf49222667a1c (patch)
tree7bb7cb9d3c88128c50c5268e1be32d33a82ed938 /apps
parent9d4271eb3da5e2ffb2da0d8ffb8628640a89fdc7 (diff)
downloadrockbox-ce82d8b8c8f58aea53f34f5c843cf49222667a1c.tar.gz
rockbox-ce82d8b8c8f58aea53f34f5c843cf49222667a1c.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/wps.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 5f65321398..f89bdbd840 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -618,14 +618,14 @@ int wps_show(void)
618 break; 618 break;
619 619
620 /* prev / restart */ 620 /* prev / restart */
621#ifdef WPS_RC_PREV
622 case WPS_RC_PREV:
623#endif
624 case WPS_PREV: 621 case WPS_PREV:
625#ifdef WPS_PREV_PRE 622#ifdef WPS_PREV_PRE
626 if (lastbutton != WPS_PREV_PRE) 623 if (lastbutton != WPS_PREV_PRE)
627 break; 624 break;
628#endif 625#endif
626#ifdef WPS_RC_PREV
627 case WPS_RC_PREV:
628#endif
629 if (!id3 || (id3->elapsed < 3*1000)) { 629 if (!id3 || (id3->elapsed < 3*1000)) {
630 mpeg_prev(); 630 mpeg_prev();
631 } 631 }
@@ -641,14 +641,14 @@ int wps_show(void)
641 break; 641 break;
642 642
643 /* next */ 643 /* next */
644#ifdef WPS_RC_NEXT
645 case WPS_RC_NEXT:
646#endif
647 case WPS_NEXT: 644 case WPS_NEXT:
648#ifdef WPS_NEXT_PRE 645#ifdef WPS_NEXT_PRE
649 if (lastbutton != WPS_NEXT_PRE) 646 if (lastbutton != WPS_NEXT_PRE)
650 break; 647 break;
651#endif 648#endif
649#ifdef WPS_RC_NEXT
650 case WPS_RC_NEXT:
651#endif
652 mpeg_next(); 652 mpeg_next();
653 break; 653 break;
654 654