diff options
Diffstat (limited to 'mbbsd')
-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)); |