From 9e27391e321912878f7cddaa92f2c8201c6e91de Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 25 Sep 2008 17:40:29 +0200 Subject: list_window: removed property "clear" Without clearing previous screen contents, there may be corruptions, make this mandatory and optimize screen clearing. --- src/screen_lyrics.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/screen_lyrics.c') diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index 9b9ea03a2..152580092 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -126,7 +126,6 @@ screen_lyrics_set(const GString *str) /* paint new data */ if (get_cur_mode_id() == 104) { /* XXX don't use the literal number */ - lw->clear = 1; list_window_paint(lw, list_callback, NULL); wrefresh(lw->w); @@ -265,7 +264,6 @@ lyrics_title(char *str, size_t size) static void lyrics_paint(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c) { - lw->clear = 1; list_window_paint(lw, list_callback, NULL); wrefresh(lw->w); } -- cgit v1.2.3