aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_window.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-25 17:42:57 +0200
committerMax Kellermann <max@duempel.org>2008-09-25 17:42:57 +0200
commit707cd9f789dfc7d49c95eb7cf54cb051912a1e99 (patch)
treec51300b4bc7627b535e31e539b83ecd995c50d61 /src/list_window.c
parent208fb7e7362cabc2d73a3bd0eedc1e4014d7e7a4 (diff)
downloadmpd-707cd9f789dfc7d49c95eb7cf54cb051912a1e99.tar.gz
mpd-707cd9f789dfc7d49c95eb7cf54cb051912a1e99.tar.xz
mpd-707cd9f789dfc7d49c95eb7cf54cb051912a1e99.zip
list_window: removed property "repaint"
The property "repaint" is never read, since all callers repaint the list window on demand.
Diffstat (limited to 'src/list_window.c')
-rw-r--r--src/list_window.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/list_window.c b/src/list_window.c
index e69f6ac04..82df1350b 100644
--- a/src/list_window.c
+++ b/src/list_window.c
@@ -92,8 +92,6 @@ list_window_center(struct list_window *lw, unsigned rows, unsigned n)
else
lw->start = 0;
}
-
- lw->repaint = 1;
}
void
@@ -303,7 +301,6 @@ list_window_cmd(struct list_window *lw, unsigned rows, command_t cmd)
return 0;
}
- lw->repaint = 1;
return 1;
}
@@ -353,7 +350,6 @@ list_window_scroll_cmd(struct list_window *lw, unsigned rows, command_t cmd)
return 0;
}
- lw->repaint = 1;
return 1;
}