aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-25 18:43:50 +0200
committerMax Kellermann <max@duempel.org>2008-09-25 18:43:50 +0200
commit434615a48f315a0655891149efa42dc6b919e722 (patch)
treee670eb397a888dd2d4748ed5ffbf39a3f969bc07 /src/screen.c
parent0469331df0de18c3f23dd69b677f2f183e38a3b0 (diff)
downloadmpd-434615a48f315a0655891149efa42dc6b919e722.tar.gz
mpd-434615a48f315a0655891149efa42dc6b919e722.tar.xz
mpd-434615a48f315a0655891149efa42dc6b919e722.zip
screen: don't pass screen pointer to method update()
play_update() is the only update() implementation left, and it does not use the screen pointer. Remove it from the method signature.
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 785807c2b..e391a9d62 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -706,7 +706,7 @@ screen_update(mpdclient_t *c)
/* update the main window */
if (mode_fn->update != NULL)
- mode_fn->update(&screen, c);
+ mode_fn->update(c);
/* update progress window */
paint_progress_window(c);