summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-29 22:55:34 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-29 22:55:34 +0800
commit096cfe7716399ae0d564dac9e793e9e8768029dc (patch)
treea4ad0cea46ad9f6eb956dedf238ec8af93b0c5c4
parentcc8039cccc2c5f3b35530b739db9c09245763b83 (diff)
downloadpttbbs-096cfe7716399ae0d564dac9e793e9e8768029dc.tar
pttbbs-096cfe7716399ae0d564dac9e793e9e8768029dc.tar.gz
pttbbs-096cfe7716399ae0d564dac9e793e9e8768029dc.tar.bz2
pttbbs-096cfe7716399ae0d564dac9e793e9e8768029dc.tar.lz
pttbbs-096cfe7716399ae0d564dac9e793e9e8768029dc.tar.xz
pttbbs-096cfe7716399ae0d564dac9e793e9e8768029dc.tar.zst
pttbbs-096cfe7716399ae0d564dac9e793e9e8768029dc.zip
gamble
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@381 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 44442a45..cc5fd86a 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1,4 +1,4 @@
-/* $Id: bbs.c,v 1.61 2002/06/26 08:47:51 ptt Exp $ */
+/* $Id: bbs.c,v 1.62 2002/06/29 14:55:34 ptt Exp $ */
#include "bbs.h"
static void mail_by_link(char* owner, char* title, char* path) {
@@ -996,6 +996,7 @@ static int hold_gamble(int ent, fileheader_t *fhdr, char *direct) {
{
bp->endgamble= 0;
substitute_record(fn_board, bp, sizeof(boardheader_t), currbid);
+
}
return FULLUPDATE;
}
@@ -1042,10 +1043,13 @@ static int hold_gamble(int ent, fileheader_t *fhdr, char *direct) {
substitute_record(fn_board, bp, sizeof(boardheader_t), currbid);
}
move(6,0);
- sprintf(genbuf,"�Ш� %s �O ��'f'�ѻP���!\n\n�@�i %d Ptt��, �o�O%s�����\n",
+sprintf(genbuf,"�Ш� %s �O ��'f'�ѻP���!\n\n�@�i %d Ptt��, �o�O%s�����\n%s%s",
currboard,
i, i<100 ? "�p�䦡" : i<500 ? "������":
- i<1000 ?"�Q�گ�" : i<5000 ?"�I����" : "�ɮa����");
+ i<1000 ?"�Q�گ�" : i<5000 ?"�I����" : "�ɮa����",
+ bp->endgamble?"��L�����ɶ�: ":"",
+ bp->endgamble?Cdate(&bp->endgamble):""
+ );
strcat(msg, genbuf);
prints("�Ш̦���J�m���W��, �ݴ���2~8��. (�����K��, ��J������enter)\n");
for(i=0; i<8; i++)