summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-30 00:18:36 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-30 00:18:36 +0800
commit0f6fe95c07f0a784046644963d3c23bc93ea2ff5 (patch)
tree7aa833fe2cd02aa3733e47fe159a4a3a5f7831c4
parentfb10c5cc6026569dcb50e5e1211deac8408bdee1 (diff)
downloadpttbbs-0f6fe95c07f0a784046644963d3c23bc93ea2ff5.tar
pttbbs-0f6fe95c07f0a784046644963d3c23bc93ea2ff5.tar.gz
pttbbs-0f6fe95c07f0a784046644963d3c23bc93ea2ff5.tar.bz2
pttbbs-0f6fe95c07f0a784046644963d3c23bc93ea2ff5.tar.lz
pttbbs-0f6fe95c07f0a784046644963d3c23bc93ea2ff5.tar.xz
pttbbs-0f6fe95c07f0a784046644963d3c23bc93ea2ff5.tar.zst
pttbbs-0f6fe95c07f0a784046644963d3c23bc93ea2ff5.zip
use LCECHO
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2031 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/cal.c4
-rw-r--r--mbbsd/screen.c3
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;