summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-23 12:02:24 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-23 12:02:24 +0800
commit70c7535da4ed3d1b8489ccf64adff85591120fbf (patch)
treef432b865282420403a5eed7fda7487fa21e30bba
parentb387e90c303ae45cd92c6ee31627883147d4c743 (diff)
downloadpttbbs-70c7535da4ed3d1b8489ccf64adff85591120fbf.tar
pttbbs-70c7535da4ed3d1b8489ccf64adff85591120fbf.tar.gz
pttbbs-70c7535da4ed3d1b8489ccf64adff85591120fbf.tar.bz2
pttbbs-70c7535da4ed3d1b8489ccf64adff85591120fbf.tar.lz
pttbbs-70c7535da4ed3d1b8489ccf64adff85591120fbf.tar.xz
pttbbs-70c7535da4ed3d1b8489ccf64adff85591120fbf.tar.zst
pttbbs-70c7535da4ed3d1b8489ccf64adff85591120fbf.zip
little bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@345 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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);