drw: drw_scm_create: use Clr type in this context XftColor is a too low-level type.
Hiltjo Posthuma hiltjo@codemadness.org
Fri, 03 Nov 2017 21:10:38 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
drw.c
→
drw.c
@@ -200,7 +200,7 @@ size_t i;
Clr *ret; /* need at least two colors for a scheme */ - if (!drw || !clrnames || clrcount < 2 || !(ret = ecalloc(clrcount, sizeof(XftColor)))) + if (!drw || !clrnames || clrcount < 2 || !(ret = ecalloc(clrcount, sizeof(Clr)))) return NULL; for (i = 0; i < clrcount; i++)