From: Max Kellermann Date: Sat, 10 Oct 2009 14:23:03 +0000 (+0200) Subject: screen_song: corrected list_window length X-Git-Tag: release-0.16~142 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d5cba05f9d3b938489fbb2303631b817bef91c0d;p=ncmpc.git screen_song: corrected list_window length --- diff --git a/src/screen_song.c b/src/screen_song.c index b7ccaf0..82e4cd4 100644 --- a/src/screen_song.c +++ b/src/screen_song.c @@ -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(); }