diff options
Diffstat (limited to 'apps/gui/gwps.c')
-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 8256fee84f..32a27212a4 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c | |||
@@ -92,8 +92,7 @@ static void change_dir(int direction) | |||
92 | 92 | ||
93 | static void prev_track(unsigned long skip_thresh) | 93 | static void prev_track(unsigned long skip_thresh) |
94 | { | 94 | { |
95 | if (!global_settings.prevent_skip | 95 | if (wps_state.id3->elapsed < skip_thresh) |
96 | && (wps_state.id3->elapsed < skip_thresh)) | ||
97 | { | 96 | { |
98 | audio_prev(); | 97 | audio_prev(); |
99 | return; | 98 | return; |
@@ -124,8 +123,6 @@ static void prev_track(unsigned long skip_thresh) | |||
124 | 123 | ||
125 | static void next_track(void) | 124 | static void next_track(void) |
126 | { | 125 | { |
127 | if (global_settings.prevent_skip) | ||
128 | return; | ||
129 | /* take care of if we're playing a cuesheet */ | 126 | /* take care of if we're playing a cuesheet */ |
130 | if (cuesheet_is_enabled() && wps_state.id3->cuesheet_type) | 127 | if (cuesheet_is_enabled() && wps_state.id3->cuesheet_type) |
131 | { | 128 | { |