Skip to content

Commit

Permalink
command: remove an extra space from track formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
guidocella committed Oct 24, 2024
1 parent 96095bd commit 31b90aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions player/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 31b90aa

Please sign in to comment.