diff options
author | okan | 2013-07-16 14:04:44 +0000 |
---|---|---|
committer | okan | 2013-07-16 14:04:44 +0000 |
commit | b6ad58bde953d53ba1e0225c1c6070147682b6e9 (patch) | |
tree | 39df47fa7d005432690b5775f5c325d1e21c145f /conf.c | |
parent | 572ba0fcd1fed6557acba57faf3eed0909a65852 (diff) | |
download | cwm-b6ad58bde953d53ba1e0225c1c6070147682b6e9.tar.gz |
max -> nitems
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.143 2013/07/15 14:50:44 okan Exp $ + * $OpenBSD: conf.c,v 1.144 2013/07/16 14:04:44 okan Exp $ */ #include <sys/param.h> @@ -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); |