summaryrefslogtreecommitdiffstats
path: root/mbbsd/screen.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-10 17:00:29 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-10 17:00:29 +0800
commita3fa704d1272a56465922cad9d52eb5cabc8ac05 (patch)
treee9f6741be32e4d2559051e9ad2c381278bb0a810 /mbbsd/screen.c
parentcf8c6166f982e9124e00403254f8152b3790f755 (diff)
downloadpttbbs-a3fa704d1272a56465922cad9d52eb5cabc8ac05.tar
pttbbs-a3fa704d1272a56465922cad9d52eb5cabc8ac05.tar.gz
pttbbs-a3fa704d1272a56465922cad9d52eb5cabc8ac05.tar.bz2
pttbbs-a3fa704d1272a56465922cad9d52eb5cabc8ac05.tar.lz
pttbbs-a3fa704d1272a56465922cad9d52eb5cabc8ac05.tar.xz
pttbbs-a3fa704d1272a56465922cad9d52eb5cabc8ac05.tar.zst
pttbbs-a3fa704d1272a56465922cad9d52eb5cabc8ac05.zip
code clean up
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1174 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/screen.c')
-rw-r--r--mbbsd/screen.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/mbbsd/screen.c b/mbbsd/screen.c
index 1f27dd86..24dffc4d 100644
--- a/mbbsd/screen.c
+++ b/mbbsd/screen.c
@@ -1,4 +1,4 @@
-/* $Id: screen.c,v 1.16 2003/06/28 08:42:37 kcwu Exp $ */
+/* $Id$ */
#include "bbs.h"
#ifdef SUPPORT_GB
@@ -217,11 +217,11 @@ clear()
register int i;
docls = YEA;
- cur_col = cur_ln = roll = downfrom = i = 0;
- do {
+ cur_col = cur_ln = roll = downfrom = 0;
+ for(i=0; i<scr_lns; i++) {
slp = &big_picture[i];
slp->mode = slp->len = slp->oldlen = 0;
- } while (++i < scr_lns);
+ }
}
void
@@ -473,12 +473,7 @@ outmsg(char *msg)
{
move(b_lines, 0);
clrtoeol();
-#ifdef SUPPORT_GB
- if (current_font_type == TYPE_GB)
- msg = hc_convert_str(msg, HC_BIGtoGB, HC_DO_SINGLE);
-#endif
- while (*msg)
- outc(*msg++);
+ outs(msg);
}
void