From: anselm@anselm1 Date: Tue, 4 Mar 2008 21:41:36 +0000 (+0000) Subject: renamed MAXLEN into MAXTAGLEN (backward compliance) X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=295ad21092ce26062c79463b7f2ba5849d2fb823;p=dwm.git renamed MAXLEN into MAXTAGLEN (backward compliance) --- diff --git a/config.def.h b/config.def.h index 72ada0e..2c4d3d0 100644 --- a/config.def.h +++ b/config.def.h @@ -12,7 +12,7 @@ #define SELFGCOLOR "#ffffff" /* tagging */ -const char tags[][MAXLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; Rule rules[] = { /* class:instance:title substr tags ref isfloating */ diff --git a/dwm.c b/dwm.c index b8db678..14aa808 100644 --- a/dwm.c +++ b/dwm.c @@ -48,7 +48,7 @@ #define BUTTONMASK (ButtonPressMask|ButtonReleaseMask) #define CLEANMASK(mask) (mask & ~(numlockmask|LockMask)) #define LENGTH(x) (sizeof x / sizeof x[0]) -#define MAXLEN 16 +#define MAXTAGLEN 16 #define MOUSEMASK (BUTTONMASK|PointerMotionMask)