From 5c59f8accc44f3f31f1ef003e23643a5f5eaa0f3 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Thu, 24 Oct 2024 18:45:27 +0200 Subject: [PATCH] command: remove an extra space from track formatting --- player/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player/command.c b/player/command.c index 84e831b5fdee6..4a52b4fead0ff 100644 --- a/player/command.c +++ b/player/command.c @@ -2109,11 +2109,11 @@ char *mp_format_track_metadata(void *ctx, struct track *t, bool add_lang) bstr dst = {0}; if (t->title) - bstr_xappend_asprintf(ctx, &dst, " '%s'", t->title); + bstr_xappend_asprintf(ctx, &dst, "'%s' ", t->title); const char *codec = s ? s->codec->codec : NULL; - bstr_xappend0(ctx, &dst, " ("); + bstr_xappend0(ctx, &dst, "("); if (add_lang && t->lang) bstr_xappend_asprintf(ctx, &dst, "%s ", t->lang);