aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_utils.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/screen_utils.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/screen_utils.c')
-rw-r--r--src/screen_utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/screen_utils.c b/src/screen_utils.c
index 6ee1eba68..6029596bd 100644
--- a/src/screen_utils.c
+++ b/src/screen_utils.c
@@ -198,9 +198,7 @@ screen_find(screen_t *screen,
screen->findbuf,
options.find_wrap);
- if (retval == 0)
- lw->repaint = 1;
- else {
+ if (retval != 0) {
screen_status_printf(_("Unable to find \'%s\'"), screen->findbuf);
screen_bell();
}