diff options
Diffstat (limited to 'src/screen_play.c')
-rw-r--r-- | src/screen_play.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen_play.c b/src/screen_play.c index 525207618..7ee0a9ff4 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -90,7 +90,7 @@ playlist_changed_callback(mpdclient_t *c, int event, gpointer data) } static const char * -list_callback(unsigned idx, int *highlight, G_GNUC_UNUSED void *data) +list_callback(unsigned idx, bool *highlight, G_GNUC_UNUSED void *data) { static char songname[MAX_SONG_LENGTH]; #ifndef NCMPC_MINI @@ -103,7 +103,7 @@ list_callback(unsigned idx, int *highlight, G_GNUC_UNUSED void *data) song = playlist_get(playlist, idx); if (song->id == current_song_id) - *highlight = 1; + *highlight = true; strfsong(songname, MAX_SONG_LENGTH, options.list_format, song); |