From fe6309732b3f4a4006e0f7dd3eb61009abb6b5da Mon Sep 17 00:00:00 2001 From: piaip Date: Wed, 6 Jul 2005 01:45:56 +0000 Subject: msg pretty print git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2901 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/pmore.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mbbsd/pmore.c') diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index dc70f29e..03433603 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -1868,6 +1868,7 @@ pmore(char *fpath, int promptend) postfix1len = 12; // check msg below postfix2len = 10; + if(mf_viewedAll()) postfix1len = 15; if (prefixlen + postfix1len + postfix2len + 1 > t_columns) { @@ -1882,6 +1883,10 @@ pmore(char *fpath, int promptend) if(postfix1len > 0) outs( + mf_viewedAll() ? + ANSI_COLOR(0;31;47)" (y)" ANSI_COLOR(30) "回信" + ANSI_COLOR(31) "(X)" ANSI_COLOR(30) "推文 " + : ANSI_COLOR(0;31;47) "(h)" ANSI_COLOR(30) "按鍵說明 " ); -- cgit v1.2.3