diff --git a/src/song_paint.c b/src/song_paint.c
index f3f3918c02a7909e1f584ae5a40e77a6599486aa..c3ae757bda89a7bad7ac57e457cd5e274cd0b43b 100644 (file)
--- a/src/song_paint.c
+++ b/src/song_paint.c
void
paint_song_row(WINDOW *w, gcc_unused unsigned y, unsigned width,
bool selected, bool highlight, const struct mpd_song *song,
- gcc_unused struct hscroll *hscroll)
+ gcc_unused struct hscroll *hscroll, const char *format)
{
char buffer[width * 4];
- strfsong(buffer, sizeof(buffer), options.list_format, song);
+ strfsong(buffer, sizeof(buffer), format, song);
row_paint_text(w, width, highlight ? COLOR_LIST_BOLD : COLOR_LIST,
selected, buffer);