From 1c3e98d52cd59f23a5cb32f114b52d1d6dde4857 Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 14 Oct 2011 16:49:43 +0000 Subject: prevent ANSI in mail->board cross post. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5436 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/mail.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pttbbs/mbbsd/mail.c b/pttbbs/mbbsd/mail.c index f3befd79..c831a80c 100644 --- a/pttbbs/mbbsd/mail.c +++ b/pttbbs/mbbsd/mail.c @@ -1588,6 +1588,7 @@ mail_cross_post(int unused_arg, fileheader_t * fhdr, const char *direct) author = '1'; } do_reply_title(2, fhdr->title, str_forward, xtitle, sizeof(xtitle)); + strip_ansi(xtitle, xtitle, STRIP_ALL); getdata(2, 0, "(S)存檔 (L)站內 (Q)取消?[Q] ", genbuf, 3, LCECHO); if (genbuf[0] == 'l' || genbuf[0] == 's') { -- cgit v1.2.3