Code

screen: don't pass mpdclient pointer to method paint()
[ncmpc.git] / src / screen.c
index 90788b0868496a5a6a3b9f6cb422d64e24e42bbb..5345f49ef8665bca530a20689d533742797d1a64 100644 (file)
@@ -546,7 +546,7 @@ screen_paint(mpdclient_t *c)
        /* paint the main window */
        wclear(screen.main_window.w);
        if (mode_fn->paint != NULL)
-               mode_fn->paint(c);
+               mode_fn->paint();
 
        paint_progress_window(c);
        paint_status_window(c);