diff options
author | William Wilgus <me.theuser@yahoo.com> | 2018-07-25 08:29:56 +0200 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2018-07-25 08:33:14 +0200 |
commit | bdbc7f7b7b26fe7ec0dac6d58583e3086b7f7f5c (patch) | |
tree | bf1b404ba27abce3786ea659340a1f68c320b77f /apps | |
parent | 021124f868ec98b2b5e0d147fabec4ec2bca2dac (diff) | |
download | rockbox-bdbc7f7b7b26fe7ec0dac6d58583e3086b7f7f5c.tar.gz rockbox-bdbc7f7b7b26fe7ec0dac6d58583e3086b7f7f5c.zip |
Revert "Remove truncation from cuesheet"
This reverts commit a81c63160c5d1da3a5c2b407fae58daead6199a8.
Change-Id: Ie6d3e780fd6318b6173943167015f78f4a9c327a
Diffstat (limited to 'apps')
-rw-r--r-- | apps/cuesheet.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c index c195460205..52b8c5703b 100644 --- a/apps/cuesheet.c +++ b/apps/cuesheet.c | |||
@@ -364,9 +364,7 @@ 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 | snprintf(title, sizeof(title), "%s: %.*s", cue->performer, | 367 | snprintf(title, MAX_PATH, "%s: %s", cue->performer, cue->title); |
368 | MAX_PATH - strlen(cue->performer) - 3, cue->title); | ||
369 | |||
370 | gui_synclist_init(&lists, list_get_name_cb, cue, false, 2, NULL); | 368 | gui_synclist_init(&lists, list_get_name_cb, cue, false, 2, NULL); |
371 | gui_synclist_set_nb_items(&lists, 2*cue->track_count); | 369 | gui_synclist_set_nb_items(&lists, 2*cue->track_count); |
372 | gui_synclist_set_title(&lists, title, 0); | 370 | gui_synclist_set_title(&lists, title, 0); |