Code

screen: don't pass screen pointer to method update()
[ncmpc.git] / src / screen.c
index 785807c2b7e6e87bfc759c6efff808df1d66c428..e391a9d6295968f39f6e51c3ddbf1125c970134a 100644 (file)
@@ -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);