diff options
Diffstat (limited to 'apps/cuesheet.c')
-rw-r--r-- | apps/cuesheet.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c index c3df275f05..c195460205 100644 --- a/apps/cuesheet.c +++ b/apps/cuesheet.c | |||
@@ -364,9 +364,8 @@ void browse_cuesheet(struct cuesheet *cue) | |||
364 | struct cuesheet_file cue_file; | 364 | struct cuesheet_file cue_file; |
365 | struct mp3entry *id3 = audio_current_track(); | 365 | struct mp3entry *id3 = audio_current_track(); |
366 | 366 | ||
367 | int remaining = 0; | 367 | snprintf(title, sizeof(title), "%s: %.*s", cue->performer, |
368 | snprintf(title, sizeof(title), "%s: %n%.*s", cue->performer, | 368 | MAX_PATH - strlen(cue->performer) - 3, cue->title); |
369 | &remaining, MAX_PATH - remaining, cue->title); | ||
370 | 369 | ||
371 | gui_synclist_init(&lists, list_get_name_cb, cue, false, 2, NULL); | 370 | gui_synclist_init(&lists, list_get_name_cb, cue, false, 2, NULL); |
372 | gui_synclist_set_nb_items(&lists, 2*cue->track_count); | 371 | gui_synclist_set_nb_items(&lists, 2*cue->track_count); |