aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_lyrics.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-25 17:40:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-25 17:40:29 +0200
commit9e27391e321912878f7cddaa92f2c8201c6e91de (patch)
treed4177ec184712f13cdf4d3276a03c981c073e225 /src/screen_lyrics.c
parent0fd4d0c99d31b69356c289d3bb1dcd791b898028 (diff)
downloadmpd-9e27391e321912878f7cddaa92f2c8201c6e91de.tar.gz
mpd-9e27391e321912878f7cddaa92f2c8201c6e91de.tar.xz
mpd-9e27391e321912878f7cddaa92f2c8201c6e91de.zip
list_window: removed property "clear"
Without clearing previous screen contents, there may be corruptions, make this mandatory and optimize screen clearing.
Diffstat (limited to '')
-rw-r--r--src/screen_lyrics.c2
1 files changed, 0 insertions, 2 deletions
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);
}