diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-07 11:39:00 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-07 11:39:00 +0800 |
commit | d898d4442cdba7888997640a7e1271b192d73341 (patch) | |
tree | 39daabc8e7a1e0d0659dfb345f817526aababa44 /mbbsd/bbs.c | |
parent | ac61497ab12220a3790c805a7f968d559d33721d (diff) | |
download | pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.gz pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.bz2 pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.lz pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.xz pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.zst pttbbs-d898d4442cdba7888997640a7e1271b192d73341.zip |
warning free, make gcc 4.0 happy
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 09fa49d1..e67c4098 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1740,10 +1740,11 @@ recommend(int ent, fileheader_t * fhdr, const char *direct) { struct tm *ptime = localtime4(&now); char buf[200], msg[53]; -#ifndef OLDRECOMMEND static const char *ctype[3] = { "±À", "¼N", "¡÷" - }, *ctype_attr[3] = { + }; +#ifndef OLDRECOMMEND + static const char *ctype_attr[3] = { ANSI_COLOR(1;33), ANSI_COLOR(1;31), ANSI_COLOR(1;37), |