summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-08 05:46:10 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-08 05:46:10 +0800
commit1978b28e64d69265501bf7bb61a5396d5b140d8c (patch)
tree3afdaf7bbd5934c144646b8899e8dc3b25375b94 /mbbsd/bbs.c
parente083479d8a0ae78b774767e9774d52da6f8f37ec (diff)
downloadpttbbs-1978b28e64d69265501bf7bb61a5396d5b140d8c.tar
pttbbs-1978b28e64d69265501bf7bb61a5396d5b140d8c.tar.gz
pttbbs-1978b28e64d69265501bf7bb61a5396d5b140d8c.tar.bz2
pttbbs-1978b28e64d69265501bf7bb61a5396d5b140d8c.tar.lz
pttbbs-1978b28e64d69265501bf7bb61a5396d5b140d8c.tar.xz
pttbbs-1978b28e64d69265501bf7bb61a5396d5b140d8c.tar.zst
pttbbs-1978b28e64d69265501bf7bb61a5396d5b140d8c.zip
push_bottom fix
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 01af29c6..1dc69c18 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -173,7 +173,9 @@ readdoent(int num, fileheader_t * ent)
if ((currmode & MODE_BOARD) && (ent->filemode & FILE_DIGEST))
type = (type == ' ') ? '*' : '#';
else if (currmode & MODE_BOARD || HAS_PERM(PERM_LOGINOK)) {
- if (ent->filemode & FILE_MARKED)
+ if (ent->filemode & FILE_BOTTOM)
+ type = '_' ;
+ else if (ent->filemode & FILE_MARKED)
type = (type == ' ') ? 'm' : 'M';
else if (TagNum && !Tagger(atoi(ent->filename + 2), 0, TAG_NIN))
@@ -2352,7 +2354,7 @@ push_bottom(int ent, fileheader_t * fhdr, char *direct)
}
setbottomtotal(currbid);
substitute_record(direct, fhdr, sizeof(fileheader_t), ent);
- return READ_REDRAW;
+ return DIRCHANGED;
}
static int