diff --git a/apps/cuesheet.c b/apps/cuesheet.c index 91b56b7f8a..24df4d49da 100644 --- a/apps/cuesheet.c +++ b/apps/cuesheet.c @@ -369,7 +369,8 @@ void browse_cuesheet(struct cuesheet *cue) len = snprintf(title, sizeof(title), "%s: %s", cue->performer, cue->title); if ((unsigned) len > sizeof(title)) - DEBUGF("browse_cuesheet title truncated\n"); + title[sizeof(title) - 2] = '~'; /* give indication of truncation */ + gui_synclist_init(&lists, list_get_name_cb, cue, false, 2, NULL); gui_synclist_set_nb_items(&lists, 2*cue->track_count);