summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/gwps-common.c2
-rw-r--r--apps/gui/gwps.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index da70f0e451..721682f248 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -412,7 +412,7 @@ static void draw_progressbar(struct gui_wps *gwps,
412#endif 412#endif
413 413
414 if (state->id3->cuesheet) 414 if (state->id3->cuesheet)
415 cue_draw_markers(display, state->id3->length, 415 cue_draw_markers(display, state->id3->cuesheet, state->id3->length,
416 pb->x, pb->x + pb->width, y+1, pb->height-2); 416 pb->x, pb->x + pb->width, y+1, pb->height-2);
417} 417}
418 418
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index 154864a280..10c2a6806b 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -151,7 +151,7 @@ static void prev_track(unsigned long skip_thresh)
151 { 151 {
152 if (wps_state.id3->cuesheet) 152 if (wps_state.id3->cuesheet)
153 { 153 {
154 curr_cuesheet_skip(-1, wps_state.id3->elapsed); 154 curr_cuesheet_skip(wps_state.id3->cuesheet, -1, wps_state.id3->elapsed);
155 return; 155 return;
156 } 156 }
157 157
@@ -176,7 +176,7 @@ static void next_track(void)
176 /* take care of if we're playing a cuesheet */ 176 /* take care of if we're playing a cuesheet */
177 if (wps_state.id3->cuesheet) 177 if (wps_state.id3->cuesheet)
178 { 178 {
179 if (curr_cuesheet_skip(1, wps_state.id3->elapsed)) 179 if (curr_cuesheet_skip(wps_state.id3->cuesheet, 1, wps_state.id3->elapsed))
180 { 180 {
181 /* if the result was false, then we really want 181 /* if the result was false, then we really want
182 to skip to the next track */ 182 to skip to the next track */