mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
Remove truncation from cuesheet
Lets see if this works.. Change-Id: I1fa7f17a07b3a7b479f987694ffcd59bc4e0bf5b
This commit is contained in:
parent
c15af64452
commit
a81c63160c
1 changed files with 3 additions and 1 deletions
|
|
@ -364,7 +364,9 @@ void browse_cuesheet(struct cuesheet *cue)
|
|||
struct cuesheet_file cue_file;
|
||||
struct mp3entry *id3 = audio_current_track();
|
||||
|
||||
snprintf(title, MAX_PATH, "%s: %s", cue->performer, cue->title);
|
||||
snprintf(title, sizeof(title), "%s: %.*s", cue->performer,
|
||||
MAX_PATH - strlen(cue->performer) - 3, cue->title);
|
||||
|
||||
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_title(&lists, title, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue