diff options
author | Jens Arnold <amiconn@rockbox.org> | 2004-10-24 20:27:33 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2004-10-24 20:27:33 +0000 |
commit | ce82d8b8c8f58aea53f34f5c843cf49222667a1c (patch) | |
tree | 7bb7cb9d3c88128c50c5268e1be32d33a82ed938 /apps | |
parent | 9d4271eb3da5e2ffb2da0d8ffb8628640a89fdc7 (diff) |
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.c | 12 |
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) 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,14 +641,14 @@ 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; |