diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-31 00:52:14 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-31 00:52:14 +0800 |
commit | 0e3a9114af6416e776e3f068975d45cb0e219545 (patch) | |
tree | 92f1f9015f2467fc225dea51e1169a86423e1ab3 /mbbsd/bbs.c | |
parent | 48b6413a6acd25cd3712daa8ddd9b7f02fcfa2b2 (diff) | |
download | pttbbs-0e3a9114af6416e776e3f068975d45cb0e219545.tar pttbbs-0e3a9114af6416e776e3f068975d45cb0e219545.tar.gz pttbbs-0e3a9114af6416e776e3f068975d45cb0e219545.tar.bz2 pttbbs-0e3a9114af6416e776e3f068975d45cb0e219545.tar.lz pttbbs-0e3a9114af6416e776e3f068975d45cb0e219545.tar.xz pttbbs-0e3a9114af6416e776e3f068975d45cb0e219545.tar.zst pttbbs-0e3a9114af6416e776e3f068975d45cb0e219545.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@253 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 116f78e9..d9e8178d 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.35 2002/05/30 16:50:50 ptt Exp $ */ +/* $Id: bbs.c,v 1.36 2002/05/30 16:52:14 ptt Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -189,7 +189,7 @@ static void readdoent(int num, fileheader_t *ent) { if(!strncmp(title,"[¤½§i]",6)) special=1; if(strncmp(currtitle, title, TTLEN)) - prints("%6d %c\033[1;32m%c\033[m%-6s\033[%d;0m%-13.12s%s\033[m " + prints("%6d %c\033[1;32m%c\033[m%-6s\033[%dm%-13.12s%s\033[m " "\033[1m%.*s\033[m%s\n", num, type, ent->recommend?ent->recommend+'0':' ', ent->date, @@ -197,7 +197,7 @@ static void readdoent(int num, fileheader_t *ent) { ent->owner, mark, special?6:0, title, special?title+6:title); else - prints("%6d %c\033[1;32m%c\033[m%-6s\033[%d;0m%-13.12s\033[1;3%cm%s " + prints("%6d %c\033[1;32m%c\033[m%-6s\033[%dm%-13.12s\033[1;3%cm%s " "%s\033[m\n", num, type, ent->recommend?ent->recommend+'0':' ', ent->date, |