aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index c8e151fa1..5adf31c93 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -746,7 +746,7 @@ screen_update(mpdclient_t *c)
paint_top_window("", c, 0);
/* update the main window */
- if (mode_fn && mode_fn->paint)
+ if (mode_fn && mode_fn->update != NULL)
mode_fn->update(screen, c);
/* update progress window */