diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-08 13:37:44 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-08 13:37:44 +0800 |
commit | 7b49f01537bef297dea74e3e1129a90594d955fb (patch) | |
tree | 847d2d1ac985e2a75954eae7eb228d7bd4c63dac /mbbsd/bbs.c | |
parent | b136074cbf3e7d666f511e9b233abc9587d05b3d (diff) | |
download | pttbbs-7b49f01537bef297dea74e3e1129a90594d955fb.tar pttbbs-7b49f01537bef297dea74e3e1129a90594d955fb.tar.gz pttbbs-7b49f01537bef297dea74e3e1129a90594d955fb.tar.bz2 pttbbs-7b49f01537bef297dea74e3e1129a90594d955fb.tar.lz pttbbs-7b49f01537bef297dea74e3e1129a90594d955fb.tar.xz pttbbs-7b49f01537bef297dea74e3e1129a90594d955fb.tar.zst pttbbs-7b49f01537bef297dea74e3e1129a90594d955fb.zip |
push bottom complete
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1731 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index b0d3b140..92376ed7 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2329,9 +2329,9 @@ push_bottom(int ent, fileheader_t * fhdr, char *direct) strcpy(buf, direct); else sprintf(buf, "%s.bottom", direct); - num = get_num_records(buf, sizeof(fileheader_t)); + num = getbottomtotal(currbid); if(getans(fhdr->filemode & FILE_BOTTOM ? - "¨ú®ø¸m©³¤½½§i?(y/N)": + "¨ú®ø¸m©³¤½§i?(y/N)": "¥[¤J¸m©³¤½§i?(y/N)")!='y') return READ_REDRAW; fhdr->filemode ^= FILE_BOTTOM; if(fhdr->filemode & FILE_BOTTOM) @@ -2357,7 +2357,6 @@ push_bottom(int ent, fileheader_t * fhdr, char *direct) } setbottomtotal(currbid); touchdircache(currbid); - load_fileheader_bottom_cache(currbid, direct); return DIRCHANGED; } |