diff options
-rw-r--r-- | drw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -200,7 +200,7 @@ drw_scm_create(Drw *drw, const char *clrnames[], size_t clrcount) | |||
200 | Clr *ret; | 200 | Clr *ret; |
201 | 201 | ||
202 | /* need at least two colors for a scheme */ | 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 | return NULL; | 204 | return NULL; |
205 | 205 | ||
206 | for (i = 0; i < clrcount; i++) | 206 | for (i = 0; i < clrcount; i++) |