summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-15 00:26:03 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-15 00:26:03 +0800
commit2947891b02eb3f57581fc1f5f6197ab33df078b3 (patch)
treea256b918022fcddedf5161d5f18fc3034d08dd25
parent0cefa7dbe0950d08788a16999f7f6dda888c0e80 (diff)
downloadpttbbs-2947891b02eb3f57581fc1f5f6197ab33df078b3.tar
pttbbs-2947891b02eb3f57581fc1f5f6197ab33df078b3.tar.gz
pttbbs-2947891b02eb3f57581fc1f5f6197ab33df078b3.tar.bz2
pttbbs-2947891b02eb3f57581fc1f5f6197ab33df078b3.tar.lz
pttbbs-2947891b02eb3f57581fc1f5f6197ab33df078b3.tar.xz
pttbbs-2947891b02eb3f57581fc1f5f6197ab33df078b3.tar.zst
pttbbs-2947891b02eb3f57581fc1f5f6197ab33df078b3.zip
Change the display of L+M. It become '!'
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2625 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index f1c04aa9..3a43f74d 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -169,7 +169,12 @@ readdoent(int num, fileheader_t * ent)
type = (type == ' ') ? '*' : '#';
else if (currmode & MODE_BOARD || HAS_PERM(PERM_LOGINOK)) {
if (ent->filemode & FILE_MARKED)
- type = (type == ' ') ? 'm' : 'M';
+ {
+ if(ent->filemode & FILE_SOLVED)
+ type = '!';
+ else
+ type = (type == ' ') ? 'm' : 'M';
+ }
else if (TagNum && !Tagger(atoi(ent->filename + 2), 0, TAG_NIN))
type = 'D';
else if (ent->filemode & FILE_SOLVED)