summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-23 11:57:48 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-23 11:57:48 +0800
commitb387e90c303ae45cd92c6ee31627883147d4c743 (patch)
treeaf8b0c7b2cc3480653957fe39ab0fc7ce48f9924
parent6a2a7525896ceb52ce538ff338f5c0330691767d (diff)
downloadpttbbs-b387e90c303ae45cd92c6ee31627883147d4c743.tar
pttbbs-b387e90c303ae45cd92c6ee31627883147d4c743.tar.gz
pttbbs-b387e90c303ae45cd92c6ee31627883147d4c743.tar.bz2
pttbbs-b387e90c303ae45cd92c6ee31627883147d4c743.tar.lz
pttbbs-b387e90c303ae45cd92c6ee31627883147d4c743.tar.xz
pttbbs-b387e90c303ae45cd92c6ee31627883147d4c743.tar.zst
pttbbs-b387e90c303ae45cd92c6ee31627883147d4c743.zip
little change about position
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@344 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 8b64022b..cf3618b3 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1,4 +1,4 @@
-/* $Id: bbs.c,v 1.59 2002/06/23 03:52:31 ptt Exp $ */
+/* $Id: bbs.c,v 1.60 2002/06/23 03:57:48 ptt Exp $ */
#include "bbs.h"
static void mail_by_link(char* owner, char* title, char* path) {
@@ -1035,12 +1035,12 @@ static int hold_gamble(int ent, fileheader_t *fhdr, char *direct) {
i=atoi(yn);
} while( i<10 || i>10000);
fprintf(fp,"%d\n",i);
- if(getdata(3,0,"設定自動封盤時間?(Y/n)",yn,3,LCECHO) && yn[0]!='n')
+ if(!getdata(3,0,"設定自動封盤時間?(Y/n)",yn,3,LCECHO) || yn[0]!='n')
{
bp->endgamble= gettime(4, now);
substitute_record(fn_board, bp, sizeof(boardheader_t), currbid);
}
- move(4,0);
+ move(6,0);
sprintf(genbuf,"請到 %s 板 按'f'參與賭博!\n\n一張 %d Ptt幣, 這是%s的賭博\n",
currboard,
i, i<100 ? "小賭式" : i<500 ? "平民級":