瀏覽代碼

renamed MAXLEN into MAXTAGLEN (backward compliance)

anselm@anselm1 17 年之前
父節點
當前提交
295ad21092
共有 2 個文件被更改,包括 2 次插入2 次删除
  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)