diff options
-rw-r--r-- | mbbsd/cal.c | 4 | ||||
-rw-r--r-- | mbbsd/screen.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 5fda1597..ac7c3aa1 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -82,7 +82,7 @@ osong(char *defaultid) { char destid[IDLEN + 1], buf[200], genbuf[200], filename[256], say[51]; - char receiver[45], ano[2]; + char receiver[45], ano[3]; FILE *fp, *fp1; //*fp2; fileheader_t mail; @@ -122,7 +122,7 @@ osong(char *defaultid) strlcpy(destid, defaultid, sizeof(destid)); /* Heat:點歌者匿名功能 */ - getdata(14, 0, "要匿名嗎?[y/n]:", ano, sizeof(ano), DOECHO); + getdata(14, 0, "要匿名嗎?[y/n]:", ano, sizeof(ano), LCECHO); if (!destid[0]) { unlockutmpmode(); diff --git a/mbbsd/screen.c b/mbbsd/screen.c index 04dcec40..c84a6a2d 100644 --- a/mbbsd/screen.c +++ b/mbbsd/screen.c @@ -108,8 +108,9 @@ redoscr() bp = &big_picture[j]; if ((len = bp->len)) { rel_move(tc_col, tc_line, 0, i); - if (bp->mode & STANDOUT) + if (bp->mode & STANDOUT) { standoutput((char *)bp->data, 0, len, bp->sso, bp->eso); + } else output((char *)bp->data, len); tc_col += len; |