drw: drw_scm_create: use Clr type f0a5b75d
in this context XftColor is a too low-level type.
Hiltjo Posthuma · 2017-11-03 21:10 1 file(s) · +1 −1
drw.c +1 −1
200 200
	Clr *ret;
201 201
202 202
	/* need at least two colors for a scheme */
203 -
	if (!drw || !clrnames || clrcount < 2 || !(ret = ecalloc(clrcount, sizeof(XftColor))))
203 +
	if (!drw || !clrnames || clrcount < 2 || !(ret = ecalloc(clrcount, sizeof(Clr))))
204 204
		return NULL;
205 205
206 206
	for (i = 0; i < clrcount; i++)