summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-24 18:11:13 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-24 18:11:13 +0800
commit06a888d2d825088edbc205ee7a420dbb09ba5dc4 (patch)
treed98b2dd6141a04afff40f537449e4b495e25f35e
parent7c837ec5df1dd69d18a524410ee6aa5b40542a69 (diff)
downloadpttbbs-06a888d2d825088edbc205ee7a420dbb09ba5dc4.tar
pttbbs-06a888d2d825088edbc205ee7a420dbb09ba5dc4.tar.gz
pttbbs-06a888d2d825088edbc205ee7a420dbb09ba5dc4.tar.bz2
pttbbs-06a888d2d825088edbc205ee7a420dbb09ba5dc4.tar.lz
pttbbs-06a888d2d825088edbc205ee7a420dbb09ba5dc4.tar.xz
pttbbs-06a888d2d825088edbc205ee7a420dbb09ba5dc4.tar.zst
pttbbs-06a888d2d825088edbc205ee7a420dbb09ba5dc4.zip
- dbcs conf should only appear when dbcs-aware compiled in.
- in vedit (output '*' instead of ESC) ANSI commands should always use real outs. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3080 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/edit.c4
-rw-r--r--mbbsd/user.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index ea8b1f87..da65ca5b 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -2092,7 +2092,9 @@ display_textline_internal(textline_t *p, int i, int min, int max)
newpnt = fix_cursor(p->data, newpnt, FC_LEFT);
if(newpnt == curr_buf->edit_margin-1)
{
- (*output)(ANSI_COLOR(1) "<" ANSI_RESET);
+ /* this should be always 'outs'? */
+ // (*output)(ANSI_COLOR(1) "<" ANSI_RESET);
+ outs(ANSI_COLOR(1) "<" ANSI_RESET);
pdata++;
}
(*output)(pdata);
diff --git a/mbbsd/user.c b/mbbsd/user.c
index c6f1c7e5..2a84d5f5 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -283,7 +283,9 @@ void Customize(void)
static const char* desc1[] = {
"動態看板",
+#ifdef DBCSAWARE
"自動偵測雙位元字集(如全型中文)",
+#endif
0,
};