diff options
| author | Alexander Levin <al.le@rockbox.org> | 2009-04-05 19:39:09 +0000 |
|---|---|---|
| committer | Alexander Levin <al.le@rockbox.org> | 2009-04-05 19:39:09 +0000 |
| commit | 9188f0ffd7ce97101a5b2d697cc43072cd63b502 (patch) | |
| tree | 77ab09cf1bf11606435f305d7077864245619f81 /apps/gui | |
| parent | be7f5253a1dfa51455a092bb08c0b1d7d633b2b3 (diff) | |
| download | rockbox-9188f0ffd7ce97101a5b2d697cc43072cd63b502.zip rockbox-9188f0ffd7ce97101a5b2d697cc43072cd63b502.tar.gz rockbox-9188f0ffd7ce97101a5b2d697cc43072cd63b502.tar.bz2 rockbox-9188f0ffd7ce97101a5b2d697cc43072cd63b502.tar.xz | |
Drop the unnecessary checks since they are made by the caller
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20632 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
| -rw-r--r-- | apps/gui/gwps.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index 8256fee..32a2721 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c @@ -92,8 +92,7 @@ static void change_dir(int direction) static void prev_track(unsigned long skip_thresh) { - if (!global_settings.prevent_skip - && (wps_state.id3->elapsed < skip_thresh)) + if (wps_state.id3->elapsed < skip_thresh) { audio_prev(); return; @@ -124,8 +123,6 @@ static void prev_track(unsigned long skip_thresh) static void next_track(void) { - if (global_settings.prevent_skip) - return; /* take care of if we're playing a cuesheet */ if (cuesheet_is_enabled() && wps_state.id3->cuesheet_type) { |