summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-06-20 13:17:24 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-06-20 13:17:24 +0000
commiteada0907ff2eb19d1e3b80d6512bfd50aff26d42 (patch)
treef3e1bafb26634d1e0f5000b78cc735024d471412
parentdc8af759ce9134b8bcf905c65b1d2fd9b53ed4f5 (diff)
fix ffwd/rewind on touchscreen targets using regions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26991 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/wps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 0c7975a01a..0a8ce899c5 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -360,6 +360,9 @@ bool ffwd_rew(int button)
#ifdef HAVE_TOUCHSCREEN
if (button == ACTION_TOUCHSCREEN)
button = wps_get_touchaction(gui_wps[SCREEN_MAIN].data);
+ if (button != ACTION_WPS_SEEKFWD &&
+ button != ACTION_WPS_SEEKBACK)
+ button = ACTION_WPS_STOPSEEK;
#endif
}
}