diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-06 12:35:16 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-06 12:35:16 +0800 |
commit | ea71bde6b0addb910454451a969e2cfeca14eb4d (patch) | |
tree | 823a5287668cc1c0fd3fdbb23e5e205b48a6108d /include | |
parent | 312ac55f526f388f6154c9861f232659d348aae2 (diff) | |
download | pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar.gz pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar.bz2 pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar.lz pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar.xz pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.tar.zst pttbbs-ea71bde6b0addb910454451a969e2cfeca14eb4d.zip |
- mail: prevent false alerts more carefully
- pfterm: add getmaxyx
- bbslua: change format detection and API refine
- var/mode: string fix
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/modes.h | 3 | ||||
-rw-r--r-- | include/pttstruct.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/modes.h b/include/modes.h index 6617e9fc..d5ff30ab 100644 --- a/include/modes.h +++ b/include/modes.h @@ -113,7 +113,8 @@ #define UMODE_CONN6 84 #define REVERSI 85 #define UMODE_BBSLUA 86 -#define MODE_MAX 87 /* 所有其他選單動態須在此之前 */ +#define UMODE_ASCIIMOVIE 87 +#define MODE_MAX 88 /* 所有其他選單動態須在此之前 */ /* menu.c 中的模式 */ #define QUIT 0x666 /* Return value to abort recursive functions */ diff --git a/include/pttstruct.h b/include/pttstruct.h index eb2edb5c..1e4074f2 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -302,7 +302,7 @@ typedef struct msgque_t { } msgque_t; #define ALERT_NEW_MAIL 1 -#define ISNEWMAIL(utmp) utmp->alerts & ALERT_NEW_MAIL +#define ISNEWMAIL(utmp) (utmp->alerts & ALERT_NEW_MAIL) #define ALERT_PWD_PERM 2 #define ALERT_PWD_BADPOST 4 #define ALERT_PWD_GOODPOST 8 |