From 199158f2d5f28c132e3e433ad27da3f43567221d Mon Sep 17 00:00:00 2001 From: scw Date: Fri, 16 Apr 2004 09:11:07 +0000 Subject: Add condition for broken big5 code. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1773 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/more.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/more.c') diff --git a/mbbsd/more.c b/mbbsd/more.c index ace229ee..ac6bcf92 100644 --- a/mbbsd/more.c +++ b/mbbsd/more.c @@ -114,7 +114,7 @@ more_readln(int fd, unsigned char *buf) } } while (len < t_columns && buf < tail); - if (in_big5) { + if (in_big5 && len >= t_columns) { strcpy(buf - 1, "\033[1;34m>\033[m"); buf += 10; --head; -- cgit v1.2.3