diff --git a/src/screen_queue.c b/src/screen_queue.c
index 0d08bbcb63ce67f3eb8a5dec83681fbc1b74a77a..d3624d1f544a61e446f2a6344e1622a8e8e11e83 100644 (file)
--- a/src/screen_queue.c
+++ b/src/screen_queue.c
/* ncmpc (Ncurses MPD Client)
- * (c) 2004-2010 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
* Project homepage: http://musicpd.org
*
* This program is free software; you can redistribute it and/or modify
static void
screen_queue_paint_callback(WINDOW *w, unsigned i,
unsigned y, unsigned width,
- bool selected, gcc_unused void *data)
+ bool selected, gcc_unused const void *data)
{
assert(playlist != NULL);
assert(i < playlist_length(playlist));
paint_song_row(w, y, width, selected,
(int)mpd_song_get_id(song) == current_song_id,
- song, row_hscroll);
+ song, row_hscroll, options.list_format);
}
static void
screen_queue_repaint();
return true;
case CMD_LIST_JUMP:
- screen_jump(lw, screen_queue_lw_callback, NULL, NULL);
+ screen_jump(lw, screen_queue_lw_callback, NULL, NULL, NULL);
screen_queue_save_selection();
screen_queue_repaint();
return true;