max -> nitems

This commit is contained in:
okan
2013-07-16 14:04:44 +00:00
parent ae4ab06559
commit ca416b6b82
3 changed files with 5 additions and 5 deletions

2
conf.c
View File

@ -288,7 +288,7 @@ conf_clear(struct conf *c)
free(mb);
}
for (i = 0; i < CWM_COLOR_MAX; i++)
for (i = 0; i < CWM_COLOR_NITEMS; i++)
free(c->color[i]);
free(c->font);