summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-23 12:06:17 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-23 12:06:17 +0800
commitcfb6550bceedf5077f80e72d20a71851364a06f7 (patch)
treeca9cff674a871a9b68c507057fd98ecfc2339000
parent70c7535da4ed3d1b8489ccf64adff85591120fbf (diff)
downloadpttbbs-cfb6550bceedf5077f80e72d20a71851364a06f7.tar
pttbbs-cfb6550bceedf5077f80e72d20a71851364a06f7.tar.gz
pttbbs-cfb6550bceedf5077f80e72d20a71851364a06f7.tar.bz2
pttbbs-cfb6550bceedf5077f80e72d20a71851364a06f7.tar.lz
pttbbs-cfb6550bceedf5077f80e72d20a71851364a06f7.tar.xz
pttbbs-cfb6550bceedf5077f80e72d20a71851364a06f7.tar.zst
pttbbs-cfb6550bceedf5077f80e72d20a71851364a06f7.zip
stupid bug about
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@346 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 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);