diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 6 | ||||
-rw-r--r-- | mbbsd/kaede.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 4a09f955..bc6f5c29 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.55 2002/06/22 07:23:22 ptt Exp $ */ +/* $Id: bbs.c,v 1.56 2002/06/22 07:35:44 ptt Exp $ */ #include "bbs.h" static void mail_by_link(char* owner, char* title, char* path) { @@ -986,8 +986,8 @@ static int hold_gamble(int ent, fileheader_t *fhdr, char *direct) { } else if(dashf(genbuf)) { - move(20,20); - prints(" 目前本版系統正在處理開獎事宜, 請稍後再舉辦 "); + move(b_lines-1,0); + prints(" 目前系統正在處理開獎事宜, 請結果出爐後再舉辦......."); pressanykey(); return FULLUPDATE; } diff --git a/mbbsd/kaede.c b/mbbsd/kaede.c index a3005ad3..2f3d6a39 100644 --- a/mbbsd/kaede.c +++ b/mbbsd/kaede.c @@ -1,4 +1,4 @@ -/* $Id: kaede.c,v 1.4 2002/06/06 21:34:11 in2 Exp $ */ +/* $Id: kaede.c,v 1.5 2002/06/22 07:35:44 ptt Exp $ */ #include "bbs.h" char *Ptt_prints(char *str, int mode) { @@ -65,7 +65,7 @@ int Link(char* src, char* dst) { if(strcmp(src, BBSHOME "/home") == 0) return 1; - if(link(src, dst) == 0) + if(symlink(dst, src) == 0) return 0; sprintf(cmd, "/bin/cp -R %s %s", src, dst); |