Code

list_window: don't reset *highlight to 0
[ncmpc.git] / src / screen_play.c
index 0426176d602b52898540cc95384c607c723f97c8..c59c766cd49b5bd3e25985870233c09558249ea7 100644 (file)
@@ -80,7 +80,6 @@ list_callback(unsigned idx, int *highlight, void *data)
        mpdclient_t *c = (mpdclient_t *) data;
        mpd_Song *song;
 
-       *highlight = 0;
        if( (song=playlist_get_song(c, idx)) == NULL ) {
                return NULL;
        }