summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-02-14 19:54:00 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-02-14 19:54:00 +0800
commit3c686bcc63c9bf7680a656b8635c33a6ef4fa8d6 (patch)
treef8275bbf44abad0943c8856c4ba96de12dd8bf80 /mbbsd
parent8d22c35377f0df043cc8f3132bdff8e3cea19dab (diff)
downloadpttbbs-3c686bcc63c9bf7680a656b8635c33a6ef4fa8d6.tar
pttbbs-3c686bcc63c9bf7680a656b8635c33a6ef4fa8d6.tar.gz
pttbbs-3c686bcc63c9bf7680a656b8635c33a6ef4fa8d6.tar.bz2
pttbbs-3c686bcc63c9bf7680a656b8635c33a6ef4fa8d6.tar.lz
pttbbs-3c686bcc63c9bf7680a656b8635c33a6ef4fa8d6.tar.xz
pttbbs-3c686bcc63c9bf7680a656b8635c33a6ef4fa8d6.tar.zst
pttbbs-3c686bcc63c9bf7680a656b8635c33a6ef4fa8d6.zip
- drop all 033 dirty ANSI character
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index bfdb48ff..21088996 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -546,7 +546,7 @@ readdoent(int num, fileheader_t * ent)
prints("%s " ANSI_COLOR(1) "%.*s" ANSI_RESET "%s\n",
mark, special ? 6 : 0, title, special ? title + 6 : title);
else
- prints("\033[1;3%cm%s %s" ANSI_RESET "\n",
+ prints(ANSI_COLOR(1;3%c) "%s %s" ANSI_RESET "\n",
color, mark, title);
}