summaryrefslogtreecommitdiffstats
path: root/mbbsd/gamble.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/gamble.c')
-rw-r--r--mbbsd/gamble.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c
index c692cd4f..010d6773 100644
--- a/mbbsd/gamble.c
+++ b/mbbsd/gamble.c
@@ -1,4 +1,4 @@
-/* $Id: gamble.c,v 1.20 2002/06/23 03:33:07 ptt Exp $ */
+/* $Id: gamble.c,v 1.21 2002/06/23 04:02:24 ptt Exp $ */
#include "bbs.h"
#ifndef _BBS_UTIL_C_
@@ -82,9 +82,9 @@ static int show_ticket_data(char *direct, int *price, boardheader_t *bh) {
if (bh)
{
sprintf(genbuf,"%s ½ä½L", bh->brdname);
- if(bh->endgamble && now > bh->endgamble && now-bh->endgamble<1800)
+ if(bh->endgamble && now > bh->endgamble && bh->endgamble-now<3600)
{
- sprintf(t,"«Ê½L­Ë¼Æ %d ¬í");
+ sprintf(t,"«Ê½L­Ë¼Æ %d ¬í", now-bh->endgamble);
showtitle(genbuf, t);
}
else showtitle(genbuf, BBSNAME);