Code

screen_song: corrected list_window length
authorMax Kellermann <max@duempel.org>
Sat, 10 Oct 2009 14:23:03 +0000 (16:23 +0200)
committerMax Kellermann <max@duempel.org>
Sat, 10 Oct 2009 14:23:03 +0000 (16:23 +0200)
src/screen_song.c

index b7ccaf05ce6c699dca885eee45b370a4bb90103c..82e4cd4e1376456d50176a760528576db3b4325c 100644 (file)
@@ -374,7 +374,7 @@ screen_song_update(struct mpdclient *c)
            !screen_song_add_stats(mpdclient_get_connection(c)))
                mpdclient_handle_error(c);
 
-       list_window_set_length(lw, 0);
+       list_window_set_length(lw, current.lines->len);
        screen_song_repaint();
 }