diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-19 20:22:27 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-19 20:22:27 +0800 |
commit | b78f37a8246a15f6e6fec5d9c673bbc2f4e57587 (patch) | |
tree | ef30e7d2606ed8d015062cc606341c4f5b62f20f /mbbsd | |
parent | f86b8cf32e528fc67aaab054034d86fe4fabfcb8 (diff) | |
download | pttbbs-b78f37a8246a15f6e6fec5d9c673bbc2f4e57587.tar pttbbs-b78f37a8246a15f6e6fec5d9c673bbc2f4e57587.tar.gz pttbbs-b78f37a8246a15f6e6fec5d9c673bbc2f4e57587.tar.bz2 pttbbs-b78f37a8246a15f6e6fec5d9c673bbc2f4e57587.tar.lz pttbbs-b78f37a8246a15f6e6fec5d9c673bbc2f4e57587.tar.xz pttbbs-b78f37a8246a15f6e6fec5d9c673bbc2f4e57587.tar.zst pttbbs-b78f37a8246a15f6e6fec5d9c673bbc2f4e57587.zip |
- refresh deleted board after deleting announce(man/gem) posts
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4317 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/announce.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c index ef8843bb..0176d553 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -805,6 +805,7 @@ a_delete(menu_t * pm) system(cmd); setbdir(buf, BN_DELETED); append_record(buf, &backup, sizeof(backup)); + setbtotal(getbnum(BN_DELETED)); } else if (dashd(fpath)) { getdata(b_lines - 1, 1, "您確定要刪除整個目錄嗎(Y/N)?[N] ", ans, sizeof(ans), LCECHO); |