summaryrefslogtreecommitdiffstats
path: root/pttbbs/mbbsd/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'pttbbs/mbbsd/screen.c')
-rw-r--r--pttbbs/mbbsd/screen.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/pttbbs/mbbsd/screen.c b/pttbbs/mbbsd/screen.c
index bbe0e924..24dffc4d 100644
--- a/pttbbs/mbbsd/screen.c
+++ b/pttbbs/mbbsd/screen.c
@@ -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