summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-08-18 19:38:31 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-08-18 19:38:31 +0800
commit06cc8f81ad2760a8d4f0828771b3e83798906525 (patch)
treedbc5cd2468e19f0aaeeb033d88237454599f01de /mbbsd
parent2d360031b079b8f6181d1d5e244d617dd47cefe8 (diff)
downloadpttbbs-06cc8f81ad2760a8d4f0828771b3e83798906525.tar
pttbbs-06cc8f81ad2760a8d4f0828771b3e83798906525.tar.gz
pttbbs-06cc8f81ad2760a8d4f0828771b3e83798906525.tar.bz2
pttbbs-06cc8f81ad2760a8d4f0828771b3e83798906525.tar.lz
pttbbs-06cc8f81ad2760a8d4f0828771b3e83798906525.tar.xz
pttbbs-06cc8f81ad2760a8d4f0828771b3e83798906525.tar.zst
pttbbs-06cc8f81ad2760a8d4f0828771b3e83798906525.zip
fix deleted板精華區標題前面都會多一個 space by ltlmouse
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2163 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/announce.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index 38b4a1f8..e214963e 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -590,10 +590,10 @@ a_delete(menu_t * pm)
system(cmd);
strlcpy(backup.owner, cuser.userid, sizeof(backup.owner));
- strcpy(backup.title, " ");
- strlcpy(backup.title+3,
+ strcpy(backup.title, "");
+ strlcpy(backup.title + 2,
pm->header[pm->now - pm->page].title + 2,
- sizeof(backup.title)-3);
+ sizeof(backup.title) - 3);
setapath(buf, "deleted");
setadir(buf, buf);
append_record(buf, &backup, sizeof(backup));