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 /parse.y | |
parent | 572ba0fcd1fed6557acba57faf3eed0909a65852 (diff) | |
download | cwm-b6ad58bde953d53ba1e0225c1c6070147682b6e9.tar.gz |
max -> nitems
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |