Ver Fonte

renamed MAXLEN into MAXTAGLEN (backward compliance)

anselm@anselm1 há 17 anos atrás
pai
commit
295ad21092
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      config.def.h
  2. 1 1
      dwm.c

+ 1 - 1
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 */

+ 1 - 1
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)