summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-10-27 22:54:23 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-10-27 22:54:23 +0800
commit08a8f05ed70240ad7b91c31353834373f4a29c37 (patch)
tree03f30292754369738fea6aa79f808f953c15446d
parent1dd691acecac64ffcfceb4f7d4b2582082ae4d64 (diff)
downloadpttbbs-08a8f05ed70240ad7b91c31353834373f4a29c37.tar
pttbbs-08a8f05ed70240ad7b91c31353834373f4a29c37.tar.gz
pttbbs-08a8f05ed70240ad7b91c31353834373f4a29c37.tar.bz2
pttbbs-08a8f05ed70240ad7b91c31353834373f4a29c37.tar.lz
pttbbs-08a8f05ed70240ad7b91c31353834373f4a29c37.tar.xz
pttbbs-08a8f05ed70240ad7b91c31353834373f4a29c37.tar.zst
pttbbs-08a8f05ed70240ad7b91c31353834373f4a29c37.zip
the X mark is still a good choice for deleted posts
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5172 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 42f51cff..1b08b53f 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -685,7 +685,9 @@ readdoent(int num, fileheader_t * ent)
}
title = ent->filename[0]!='L' ? subject(ent->title) : "<¥»¤åÂê©w>";
- if (ent->filemode & FILE_VOTE)
+ if (iscorpse)
+ color = '0', mark = "¢®";
+ else if (ent->filemode & FILE_VOTE)
color = '2', mark = "£¾";
else if (title == ent->title)
color = '1', mark = "¡¼";