summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-16 13:22:03 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-16 13:22:03 +0800
commit5a901f172ecacd3914cd473667cbd4dc10b8445a (patch)
treede75de5e9b3b9d9b2385b81663bafa698560683b /mbbsd/bbs.c
parent81aedaf08d5fb34eddb2cf838a434aed1bfe3a6f (diff)
downloadpttbbs-5a901f172ecacd3914cd473667cbd4dc10b8445a.tar
pttbbs-5a901f172ecacd3914cd473667cbd4dc10b8445a.tar.gz
pttbbs-5a901f172ecacd3914cd473667cbd4dc10b8445a.tar.bz2
pttbbs-5a901f172ecacd3914cd473667cbd4dc10b8445a.tar.lz
pttbbs-5a901f172ecacd3914cd473667cbd4dc10b8445a.tar.xz
pttbbs-5a901f172ecacd3914cd473667cbd4dc10b8445a.tar.zst
pttbbs-5a901f172ecacd3914cd473667cbd4dc10b8445a.zip
- ignore bottom for recommending in special modes
- general message fix git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3689 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 4e171012..784ca75c 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2744,15 +2744,16 @@ recommend(int ent, fileheader_t * fhdr, const char *direct)
// warn if in non-standard mode
{
char *p = strrchr(direct, '/');
- if (!p || strcmp(p+1, FN_DIR) != 0)
+ // allow .DIR or .DIR.bottom
+ if (!p || strncmp(p+1, FN_DIR, strlen(FN_DIR)) != 0)
{
ymsg --;
move(ymsg--, 0); clrtoeol();
- outs(ANSI_COLOR(1;31)
- "』眤タ疭家Α(穓碝╰...)"
+ outs(ANSI_COLOR(1;33)
+ "』眤タ穓碝(夹肈...)┪ㄤウ疭家Α"
"崩ゅ璸计籔э癘魁盢穦だ秨璸衡"
ANSI_RESET "\n"
- " 璝稱タ盽璸计叫癶家Α\n");
+ " 璝稱タ盽璸计叫オ龄癶タ盽家Α\n");
}
}