From b6ad58bde953d53ba1e0225c1c6070147682b6e9 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 16 Jul 2013 14:04:44 +0000 Subject: max -> nitems --- parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parse.y') 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 @@ -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; -- cgit v1.2.3-2-gb3c3