summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);