summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-16 17:11:07 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-16 17:11:07 +0800
commit199158f2d5f28c132e3e433ad27da3f43567221d (patch)
tree75737bc2e9da6f05f36846ec1e35e6d3e7f77104 /mbbsd
parent54d8788cfca8c5a9407e8330f344ff628d3e5ab1 (diff)
downloadpttbbs-199158f2d5f28c132e3e433ad27da3f43567221d.tar
pttbbs-199158f2d5f28c132e3e433ad27da3f43567221d.tar.gz
pttbbs-199158f2d5f28c132e3e433ad27da3f43567221d.tar.bz2
pttbbs-199158f2d5f28c132e3e433ad27da3f43567221d.tar.lz
pttbbs-199158f2d5f28c132e3e433ad27da3f43567221d.tar.xz
pttbbs-199158f2d5f28c132e3e433ad27da3f43567221d.tar.zst
pttbbs-199158f2d5f28c132e3e433ad27da3f43567221d.zip
Add condition for broken big5 code.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1773 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/more.c2
1 files changed, 1 insertions, 1 deletions
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;