diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-01 09:23:00 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-01 09:23:00 +0800 |
commit | 74068181c7fec8d9c9d577142910d74fd1c83162 (patch) | |
tree | 1d01e5bca8304ddf338d10b79e34be2a173a5c74 | |
parent | 3b7a540971720289a84954d2c248aa9b610e65f2 (diff) | |
download | pttbbs-74068181c7fec8d9c9d577142910d74fd1c83162.tar pttbbs-74068181c7fec8d9c9d577142910d74fd1c83162.tar.gz pttbbs-74068181c7fec8d9c9d577142910d74fd1c83162.tar.bz2 pttbbs-74068181c7fec8d9c9d577142910d74fd1c83162.tar.lz pttbbs-74068181c7fec8d9c9d577142910d74fd1c83162.tar.xz pttbbs-74068181c7fec8d9c9d577142910d74fd1c83162.tar.zst pttbbs-74068181c7fec8d9c9d577142910d74fd1c83162.zip |
as 3085
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3121 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/announce.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 1115fba8..9ad3bd88 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -801,8 +801,10 @@ a_delete(menu_t * pm) strlcpy(backup.title + 2, pm->header[pm->now - pm->page].title + 2, sizeof(backup.title) - 3); - setapath(buf, "deleted"); - setadir(buf, buf); + + /* merge setapath(buf, "deleted"); setadir(buf, buf); */ + snprintf(buf, sizeof(buf), "man/boards/%c/%s/.DIR", + 'd', "deleted"); append_record(buf, &backup, sizeof(backup)); } else { /* Ptt 損毀的項目 */ getdata(b_lines - 1, 1, "您確定要刪除此損毀的項目嗎(Y/N)?[N] ", |