From ce82d8b8c8f58aea53f34f5c843cf49222667a1c Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 24 Oct 2004 20:27:33 +0000 Subject: 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 --- apps/wps.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'apps') diff --git a/apps/wps.c b/apps/wps.c index 5f65321398..f89bdbd840 100644 --- a/apps/wps.c +++ b/apps/wps.c @@ -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; -- cgit v1.2.3