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 /calmwm.h | |
parent | 572ba0fcd1fed6557acba57faf3eed0909a65852 (diff) | |
download | cwm-b6ad58bde953d53ba1e0225c1c6070147682b6e9.tar.gz |
max -> nitems
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 8 |
1 files changed, 4 insertions, 4 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: calmwm.h,v 1.219 2013/07/15 23:53:19 okan Exp $ + * $OpenBSD: calmwm.h,v 1.220 2013/07/16 14:04:44 okan Exp $ */ #ifndef _CALMWM_H_ @@ -103,7 +103,7 @@ enum color { CWM_COLOR_MENU_BG, CWM_COLOR_MENU_FONT, CWM_COLOR_MENU_FONT_SEL, - CWM_COLOR_MAX + CWM_COLOR_NITEMS }; struct geom { @@ -223,7 +223,7 @@ struct screen_ctx { struct geom work; /* workable area, gap-applied */ struct gap gap; struct cycle_entry_q mruq; - XftColor xftcolor[CWM_COLOR_MAX]; + XftColor xftcolor[CWM_COLOR_NITEMS]; XftDraw *xftdraw; XftFont *xftfont; int xinerama_no; @@ -297,7 +297,7 @@ struct conf { #define CONF_SNAPDIST 0 int snapdist; struct gap gap; - char *color[CWM_COLOR_MAX]; + char *color[CWM_COLOR_NITEMS]; char termpath[MAXPATHLEN]; char lockpath[MAXPATHLEN]; char known_hosts[MAXPATHLEN]; |