fix ffwd/rewind on touchscreen targets using regions

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26991 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-06-20 13:17:24 +00:00
parent dc8af759ce
commit eada0907ff

View file

@ -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
}
}