diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-19 12:33:09 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-19 12:33:09 +0800 |
commit | 098f190b2fcb394558424d0d4d56c1f27ee4956c (patch) | |
tree | 1a5764704984b21054b9a8ee684a362bcbfe7518 /include | |
parent | 2949732db80f63afe3e0291fc72552b3c90402be (diff) | |
download | pttbbs-098f190b2fcb394558424d0d4d56c1f27ee4956c.tar pttbbs-098f190b2fcb394558424d0d4d56c1f27ee4956c.tar.gz pttbbs-098f190b2fcb394558424d0d4d56c1f27ee4956c.tar.bz2 pttbbs-098f190b2fcb394558424d0d4d56c1f27ee4956c.tar.lz pttbbs-098f190b2fcb394558424d0d4d56c1f27ee4956c.tar.xz pttbbs-098f190b2fcb394558424d0d4d56c1f27ee4956c.tar.zst pttbbs-098f190b2fcb394558424d0d4d56c1f27ee4956c.zip |
Always display designated system banner first.
Let user choose whether to display user songs.
r4856_adbanner will reset all users to not display user songs.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4856 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/pttstruct.h | 3 | ||||
-rw-r--r-- | include/uflags.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h index 1be9f2a1..fb6fb78e 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -559,8 +559,7 @@ typedef struct { char gap_20[sizeof(int)]; msgque_t loginmsg; /* ¶i¯¸¤ô²y */ int last_film; - // FIXME remove it - int __never_used__max_history; + int last_usong; time4_t Puptime; time4_t Ptouchtime; int Pbusystate; diff --git a/include/uflags.h b/include/uflags.h index d0414db0..5192fcce 100644 --- a/include/uflags.h +++ b/include/uflags.h @@ -22,8 +22,8 @@ #define FRIEND_FLAG 0x00000010 /* true if show friends only */ #define BRDSORT_FLAG 0x00000020 /* true if the boards sorted alphabetical */ #define ADBANNER_FLAG 0x00000040 /* (was: MOVIE_FLAG, true if show advertisement banner */ +#define ADBANNER_USONG_FLAG 0x00000080 /* true if show user songs in banner */ /* deprecated flag */ -//#define COLOR_FLAG 0x00000080 /* true if the color mode open */ //#define MIND_FLAG 0x00000100 /* true if mind search mode open <-Heat*/ /* DBCS CONFIG */ |