summaryrefslogtreecommitdiff
path: root/apps/cuesheet.c
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-07-25 08:29:56 +0200
committerWilliam Wilgus <me.theuser@yahoo.com>2018-07-25 08:33:14 +0200
commitbdbc7f7b7b26fe7ec0dac6d58583e3086b7f7f5c (patch)
treebf1b404ba27abce3786ea659340a1f68c320b77f /apps/cuesheet.c
parent021124f868ec98b2b5e0d147fabec4ec2bca2dac (diff)
Revert "Remove truncation from cuesheet"
This reverts commit a81c63160c5d1da3a5c2b407fae58daead6199a8. Change-Id: Ie6d3e780fd6318b6173943167015f78f4a9c327a
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 c195460205..52b8c5703b 100644
--- a/apps/cuesheet.c
+++ b/apps/cuesheet.c
@@ -364,9 +364,7 @@ void browse_cuesheet(struct cuesheet *cue)
struct cuesheet_file cue_file;
struct mp3entry *id3 = audio_current_track();
- snprintf(title, sizeof(title), "%s: %.*s", cue->performer,
- MAX_PATH - strlen(cue->performer) - 3, cue->title);
-
+ snprintf(title, MAX_PATH, "%s: %s", cue->performer, 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);