diff options
author | okan <okan> | 2013-07-16 14:04:44 +0000 |
---|---|---|
committer | okan <okan> | 2013-07-16 14:04:44 +0000 |
commit | ca416b6b82ace271f29e591081d4a9fe87614d06 (patch) | |
tree | 3c83bff04b9354c4c8a8eef75d6e98f986be3fcf /parse.y | |
parent | ae4ab065599ec7b0656c513f8243036b19b5703a (diff) | |
download | cwm-ca416b6b82ace271f29e591081d4a9fe87614d06.tar.gz cwm-ca416b6b82ace271f29e591081d4a9fe87614d06.tar.xz cwm-ca416b6b82ace271f29e591081d4a9fe87614d06.zip |
max -> nitems
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y index 58afd25..e2a6885 100644 --- a/parse.y +++ b/parse.y @@ -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; |