pinentry-dmenu

a pinentry program based on dmenu
git clone anongit@rnpnr.xyz:pinentry-dmenu.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 2ec6c77602d6f27fa3c5ed93beca55278556e2da
Parent: 6651d3659fb198fad3e229430f4127933f44e3e1
Author: Hiltjo Posthuma
Date:   Fri,  3 Nov 2017 21:10:38 +0100

drw: drw_scm_create: use Clr type

in this context XftColor is a too low-level type.

Diffstat:
Mdrw.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drw.c b/drw.c @@ -200,7 +200,7 @@ drw_scm_create(Drw *drw, const char *clrnames[], size_t clrcount) 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++)