diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 3 | ||||
-rw-r--r-- | include/fpg.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index acbf688d..cc5e6980 100644 --- a/include/common.h +++ b/include/common.h @@ -220,6 +220,9 @@ #define MAX(a,b) (((a)>(b))?(a):(b)) #endif +#define toSTR(x) __toSTR(x) +#define __toSTR(x) #x + #define char_lower(c) ((c >= 'A' && c <= 'Z') ? c|32 : c) #define STR_CURSOR "●" diff --git a/include/fpg.h b/include/fpg.h index f237b967..0065cba5 100644 --- a/include/fpg.h +++ b/include/fpg.h @@ -3,7 +3,7 @@ #define BTLEN 48 /* Length of board title */ #define NAMELEN 40 /* Length of username/realname */ #define FNLEN 33 /* Length of filename */ - /* Ptt 說這裡有bug*/ + /* XXX Ptt 說這裡有bug*/ #define IDLEN 12 /* Length of bid/uid */ #define PASSLEN 14 /* Length of encrypted passwd field */ #define REGLEN 38 /* Length of registration data */ |