summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/include/uflags.h2
-rw-r--r--pttbbs/mbbsd/bbs.c6
-rw-r--r--pttbbs/mbbsd/user.c2
3 files changed, 1 insertions, 9 deletions
diff --git a/pttbbs/include/uflags.h b/pttbbs/include/uflags.h
index 532138c0..5d40abfa 100644
--- a/pttbbs/include/uflags.h
+++ b/pttbbs/include/uflags.h
@@ -20,7 +20,7 @@
#define UF_DBCS_DROP_REPEAT 0x00000800 // detect and drop repeated input from evil clients
// #define UF_DBCS_??? 0x00000800 // reserved
#define UF_NO_MODMARK 0x00001000 // true if modified files are NOT marked
-#define UF_COLORED_MODMARK 0x00002000 // true if mod-mark is coloured.
+// #define UF_COLORED_MODMARK 0x00002000 // deprecated flag. RESET before you use it.
// #define UF_MODMARK_??? 0x00004000 // reserved
// #define UF_MODMARK_??? 0x00008000 // reserved
#define UF_DEFBACKUP 0x00010000 // true if user defaults to backup
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 1d32d545..bcb21973 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -644,12 +644,6 @@ readdoent(int num, fileheader_t * ent)
{
oisunread = isunread = 0;
}
- // if user wants colored marks, use 'read' marks
- else if (HasUserFlag(UF_COLORED_MODMARK))
- {
- isunread = 0;
- typeattr = ANSI_COLOR(36);
- }
}
// handle 'type'
diff --git a/pttbbs/mbbsd/user.c b/pttbbs/mbbsd/user.c
index 9331fa95..b0e1cf2b 100644
--- a/pttbbs/mbbsd/user.c
+++ b/pttbbs/mbbsd/user.c
@@ -427,7 +427,6 @@ void Customize(void)
UF_FAV_ADDNEW,
UF_FAV_NOHILIGHT,
UF_NO_MODMARK ,
- UF_COLORED_MODMARK,
#ifdef DBCSAWARE
UF_DBCS_AWARE,
UF_DBCS_DROP_REPEAT,
@@ -444,7 +443,6 @@ void Customize(void)
"MYFAV 新板自動進我的最愛",
"MYFAV 單色顯示我的最愛",
"MODMARK 隱藏文章修改符號(推文/修文) (~)",
- "MODMARK 改用色彩代替修改符號 (+)",
#ifdef DBCSAWARE
"DBCS 自動偵測雙位元字集(如全型中文)",
"DBCS 忽略連線程式為雙位元字集送出的重複按鍵",