mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Revert "Remove truncation from cuesheet"
This reverts commit a81c63160c
.
Change-Id: Ie6d3e780fd6318b6173943167015f78f4a9c327a
This commit is contained in:
parent
021124f868
commit
bdbc7f7b7b
1 changed files with 1 additions and 3 deletions
|
@ -364,9 +364,7 @@ void browse_cuesheet(struct cuesheet *cue)
|
||||||
struct cuesheet_file cue_file;
|
struct cuesheet_file cue_file;
|
||||||
struct mp3entry *id3 = audio_current_track();
|
struct mp3entry *id3 = audio_current_track();
|
||||||
|
|
||||||
snprintf(title, sizeof(title), "%s: %.*s", cue->performer,
|
snprintf(title, MAX_PATH, "%s: %s", cue->performer, cue->title);
|
||||||
MAX_PATH - strlen(cue->performer) - 3, cue->title);
|
|
||||||
|
|
||||||
gui_synclist_init(&lists, list_get_name_cb, cue, false, 2, NULL);
|
gui_synclist_init(&lists, list_get_name_cb, cue, false, 2, NULL);
|
||||||
gui_synclist_set_nb_items(&lists, 2*cue->track_count);
|
gui_synclist_set_nb_items(&lists, 2*cue->track_count);
|
||||||
gui_synclist_set_title(&lists, title, 0);
|
gui_synclist_set_title(&lists, title, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue