diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-08-18 19:38:31 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-08-18 19:38:31 +0800 |
commit | 06cc8f81ad2760a8d4f0828771b3e83798906525 (patch) | |
tree | dbc5cd2468e19f0aaeeb033d88237454599f01de | |
parent | 2d360031b079b8f6181d1d5e244d617dd47cefe8 (diff) | |
download | pttbbs-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
-rw-r--r-- | mbbsd/announce.c | 6 |
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)); |