From 1230f84524fc1625e0ff9eda67e2840334d7916f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 25 Sep 2008 17:40:59 +0200 Subject: screen: don't pass screen pointer to method paint() None of the paint() implementations actually use the screen pointer - remove it from the method signature. --- src/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/screen.c') diff --git a/src/screen.c b/src/screen.c index c7fece70e..785807c2b 100644 --- a/src/screen.c +++ b/src/screen.c @@ -637,7 +637,7 @@ screen_paint(mpdclient_t *c) /* paint the main window */ wclear(screen.main_window.w); if (mode_fn->paint != NULL) - mode_fn->paint(&screen, c); + mode_fn->paint(c); paint_progress_window(c); paint_status_window(c); -- cgit v1.2.3