summaryrefslogtreecommitdiff
path: root/apps/cuesheet.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/cuesheet.c')
-rw-r--r--apps/cuesheet.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c
index 39152185e5..a9180a70d4 100644
--- a/apps/cuesheet.c
+++ b/apps/cuesheet.c
@@ -482,7 +482,6 @@ bool curr_cuesheet_skip(struct cuesheet *cue, int direction, unsigned long curr_
482 482
483} 483}
484 484
485#ifdef HAVE_LCD_BITMAP
486static inline void draw_veritcal_line_mark(struct screen * screen, 485static inline void draw_veritcal_line_mark(struct screen * screen,
487 int x, int y, int h) 486 int x, int y, int h)
488{ 487{
@@ -498,7 +497,7 @@ void cue_draw_markers(struct screen *screen, struct cuesheet *cue,
498{ 497{
499 int i,xi; 498 int i,xi;
500 unsigned long tracklen_seconds = tracklen/1000; /* duration in seconds */ 499 unsigned long tracklen_seconds = tracklen/1000; /* duration in seconds */
501 500
502 for (i=1; i < cue->track_count; i++) 501 for (i=1; i < cue->track_count; i++)
503 { 502 {
504 /* Convert seconds prior to multiplication to avoid overflow. */ 503 /* Convert seconds prior to multiplication to avoid overflow. */
@@ -506,7 +505,6 @@ void cue_draw_markers(struct screen *screen, struct cuesheet *cue,
506 draw_veritcal_line_mark(screen, xi, y, h); 505 draw_veritcal_line_mark(screen, xi, y, h);
507 } 506 }
508} 507}
509#endif
510 508
511bool cuesheet_subtrack_changed(struct mp3entry *id3) 509bool cuesheet_subtrack_changed(struct mp3entry *id3)
512{ 510{