summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/gamble.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c
index 010d6773..3d8ae234 100644
--- a/mbbsd/gamble.c
+++ b/mbbsd/gamble.c
@@ -1,4 +1,4 @@
-/* $Id: gamble.c,v 1.21 2002/06/23 04:02:24 ptt Exp $ */
+/* $Id: gamble.c,v 1.22 2002/06/23 04:06:17 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 && bh->endgamble-now<3600)
+ if(bh->endgamble && now < bh->endgamble && bh->endgamble-now<3600)
{
- sprintf(t,"«Ê½L­Ë¼Æ %d ¬í", now-bh->endgamble);
+ sprintf(t,"«Ê½L­Ë¼Æ %d ¬í", bh->endgamble-now);
showtitle(genbuf, t);
}
else showtitle(genbuf, BBSNAME);