aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorokan2013-07-16 14:04:44 +0000
committerokan2013-07-16 14:04:44 +0000
commitb6ad58bde953d53ba1e0225c1c6070147682b6e9 (patch)
tree39df47fa7d005432690b5775f5c325d1e21c145f /parse.y
parent572ba0fcd1fed6557acba57faf3eed0909a65852 (diff)
downloadcwm-b6ad58bde953d53ba1e0225c1c6070147682b6e9.tar.gz
max -> nitems
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index 06578e6..1af6f64 100644
--- a/parse.y
+++ b/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.46 2013/07/08 16:32:51 okan Exp $ */
+/* $OpenBSD: parse.y,v 1.47 2013/07/16 14:04:44 okan Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -597,7 +597,7 @@ parse_config(const char *filename, struct conf *xconf)
(void)strlcpy(xconf->lockpath, conf->lockpath,
sizeof(xconf->lockpath));
- for (i = 0; i < CWM_COLOR_MAX; i++)
+ for (i = 0; i < CWM_COLOR_NITEMS; i++)
xconf->color[i] = conf->color[i];
xconf->font = conf->font;