From 2b8e9c06b9d3749071d4d3d35af70bc06bc99345 Mon Sep 17 00:00:00 2001 From: wens Date: Sun, 5 Dec 2004 15:20:48 +0000 Subject: fix title length git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2369 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mbbsd/bbs.c') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index a4223151..0a05f3f9 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -366,6 +366,8 @@ cancelpost(fileheader_t *fh, int by_BM, char *newpath) break; } } + if(!strncasecmp(postfile->title, str_reply, 3)) + len=len+4; sprintf(postfile.title,"%-*.*s.%sĒŠ", len, len, fh->title, currboard); if ((fout = fopen("innd/cancel.bntp", "a"))) { -- cgit v1.2.3