diff --git a/NEWS b/NEWS index e00fa79d..7f0e9355 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ ncmpc 0.51 - not yet released * repaint main area after terminal was resized * pressing Enter while in "jump mode" activates selected item +* format: fix "%label%" expansion * fix crash in new text input dialog * fix crash on song info page * require libmpdclient 2.19 or newer diff --git a/src/strfsong.cxx b/src/strfsong.cxx index 1e8b0168..01a92de2 100644 --- a/src/strfsong.cxx +++ b/src/strfsong.cxx @@ -183,7 +183,7 @@ _strfsong(char *const s0, char *const end, tag = MPD_TAG_WORK; else if (name == "grouping"sv) tag = MPD_TAG_GROUPING; - else if (strncmp("%label%", p, n) == 0) + else if (strncmp("label", p, n) == 0) tag = MPD_TAG_LABEL; else if (name == "title"sv) tag = MPD_TAG_TITLE;