From 3c686bcc63c9bf7680a656b8635c33a6ef4fa8d6 Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 14 Feb 2008 11:54:00 +0000 Subject: - drop all 033 dirty ANSI character git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/bbs.c') 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); } -- cgit v1.2.3