diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2011-10-15 00:49:43 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2011-10-15 00:49:43 +0800 |
commit | 1c3e98d52cd59f23a5cb32f114b52d1d6dde4857 (patch) | |
tree | 2c45241371a04c7ce6d7bf675479953118a9a60d | |
parent | 7eb259c2900c430938c80c1e362614e80c32921b (diff) | |
download | pttbbs-1c3e98d52cd59f23a5cb32f114b52d1d6dde4857.tar pttbbs-1c3e98d52cd59f23a5cb32f114b52d1d6dde4857.tar.gz pttbbs-1c3e98d52cd59f23a5cb32f114b52d1d6dde4857.tar.bz2 pttbbs-1c3e98d52cd59f23a5cb32f114b52d1d6dde4857.tar.lz pttbbs-1c3e98d52cd59f23a5cb32f114b52d1d6dde4857.tar.xz pttbbs-1c3e98d52cd59f23a5cb32f114b52d1d6dde4857.tar.zst pttbbs-1c3e98d52cd59f23a5cb32f114b52d1d6dde4857.zip |
prevent ANSI in mail->board cross post.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5436 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/mail.c | 1 |
1 files changed, 1 insertions, 0 deletions
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') { |