diff options
-rw-r--r-- | apps/gui/gwps.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index 87912dda30..8256fee84f 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c | |||
@@ -146,8 +146,10 @@ static void play_hop(int direction) | |||
146 | unsigned long elapsed = wps_state.id3->elapsed; | 146 | unsigned long elapsed = wps_state.id3->elapsed; |
147 | unsigned long remaining = wps_state.id3->length - elapsed; | 147 | unsigned long remaining = wps_state.id3->length - elapsed; |
148 | 148 | ||
149 | if (!global_settings.prevent_skip | 149 | if (!global_settings.prevent_skip && |
150 | && (!step || (step >= remaining || (direction < 0 && elapsed < DEFAULT_SKIP_TRESH)))) | 150 | (!step || |
151 | (direction > 0 && step >= remaining) || | ||
152 | (direction < 0 && elapsed < DEFAULT_SKIP_TRESH))) | ||
151 | { /* Do normal track skipping */ | 153 | { /* Do normal track skipping */ |
152 | if (direction > 0) | 154 | if (direction > 0) |
153 | next_track(); | 155 | next_track(); |