shithub: mpl

Download patch

ref: e809b405457ba3d54b859100fc865d91393b5e15
parent: cad2e6afda7b4e73e4f90b8074ad49ebb7a584e4
author: Moody <[email protected]>
date: Sat Apr 4 20:21:55 EDT 2020

Fix drawlists signature.

--- a/draw.c
+++ b/draw.c
@@ -258,7 +258,7 @@
 }
 
 void
-drawlists(Point p, Image *textcolor, Image *active, Image *background, Channel *clickout)
+drawlists(Point p, Image *textcolor, Image *background, Channel *clickout)
 {
 	Rectangle r;
 	int n, i;
--- a/fncs.h
+++ b/fncs.h
@@ -28,7 +28,7 @@
 Image*	convpicbuf(uchar*, uvlong, char*);
 void	drawlibrary(Lib*, Point, Image*, Image*, Channel*);
 void	drawvolume(int, Image*);
-void	drawlists(Point,Image*,Image*,Image*,Channel*);
+void	drawlists(Point,Image*,Image*,Channel*);
 
 /* dir.c */
 int		file2song(Song*, char*,int);
--- a/mpl.c
+++ b/mpl.c
@@ -62,7 +62,7 @@
 	draw(screen, screen->r, background, nil, ZP);
 	recv(lout, &lib);
 	if(showlists) {
-		drawlists(p, black, red, listbackground, clickin);
+		drawlists(p, black, listbackground, clickin);
 		p.x+=256;
 	}
 	drawlibrary(&lib, p, black, red, clickin);