summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps.c')
-rw-r--r--apps/gui/gwps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index d211321622..dd219f166f 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -135,15 +135,15 @@ static void play_hop(int direction)
135 135
136 if (direction == 1 && wps_state.id3->length - *elapsed < step+1000) 136 if (direction == 1 && wps_state.id3->length - *elapsed < step+1000)
137 { 137 {
138 if (!prevent_skip)
139 next_track();
138#if CONFIG_CODEC == SWCODEC 140#if CONFIG_CODEC == SWCODEC
139 if (prevent_skip) 141 else
140 { 142 {
141 if(global_settings.beep) 143 if(global_settings.beep)
142 pcmbuf_beep(1000, 150, 1500*global_settings.beep); 144 pcmbuf_beep(1000, 150, 1500*global_settings.beep);
143 } 145 }
144 else
145#endif 146#endif
146 next_track();
147 return; 147 return;
148 } 148 }
149 else if ((direction == -1 && *elapsed < step)) 149 else if ((direction == -1 && *elapsed < step))