Browse Source

renamed MAXLEN into MAXTAGLEN (backward compliance)

master
anselm@anselm1 17 years ago
parent
commit
295ad21092
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      config.def.h
  2. +1
    -1
      dwm.c

+ 1
- 1
config.def.h View File

@ -12,7 +12,7 @@
#define SELFGCOLOR "#ffffff" #define SELFGCOLOR "#ffffff"
/* tagging */ /* 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[] = { Rule rules[] = {
/* class:instance:title substr tags ref isfloating */ /* class:instance:title substr tags ref isfloating */


+ 1
- 1
dwm.c View File

@ -48,7 +48,7 @@
#define BUTTONMASK (ButtonPressMask|ButtonReleaseMask) #define BUTTONMASK (ButtonPressMask|ButtonReleaseMask)
#define CLEANMASK(mask) (mask & ~(numlockmask|LockMask)) #define CLEANMASK(mask) (mask & ~(numlockmask|LockMask))
#define LENGTH(x) (sizeof x / sizeof x[0]) #define LENGTH(x) (sizeof x / sizeof x[0])
#define MAXLEN 16
#define MAXTAGLEN 16
#define MOUSEMASK (BUTTONMASK|PointerMotionMask) #define MOUSEMASK (BUTTONMASK|PointerMotionMask)


Loading…
Cancel
Save