diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-06-28 16:45:02 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-06-28 16:45:02 +0800 |
commit | c5f8b96c358e673945943d92c4ba562eba1f96ec (patch) | |
tree | 44619570d14a2f6d7ff07f50e0fcc3143cc51b03 /mbbsd | |
parent | 7530fa0b7383b691d6930a0e639703ba01cf4c9c (diff) | |
download | pttbbs-c5f8b96c358e673945943d92c4ba562eba1f96ec.tar pttbbs-c5f8b96c358e673945943d92c4ba562eba1f96ec.tar.gz pttbbs-c5f8b96c358e673945943d92c4ba562eba1f96ec.tar.bz2 pttbbs-c5f8b96c358e673945943d92c4ba562eba1f96ec.tar.lz pttbbs-c5f8b96c358e673945943d92c4ba562eba1f96ec.tar.xz pttbbs-c5f8b96c358e673945943d92c4ba562eba1f96ec.tar.zst pttbbs-c5f8b96c358e673945943d92c4ba562eba1f96ec.zip |
fix strange syntax
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@981 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/chicken.c | 6 | ||||
-rw-r--r-- | mbbsd/gamble.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/chicken.c b/mbbsd/chicken.c index 2bc1e64c..553cdbd5 100644 --- a/mbbsd/chicken.c +++ b/mbbsd/chicken.c @@ -1,4 +1,4 @@ -/* $Id: chicken.c,v 1.11 2003/04/27 13:00:16 in2 Exp $ */ +/* $Id: chicken.c,v 1.12 2003/06/28 08:44:35 kcwu Exp $ */ #include "bbs.h" #define NUM_KINDS 13 /* 有多少種動物 */ @@ -1021,10 +1021,10 @@ chickenpk(int fd) break; } } - add_io(0, 0); /* 把igetch恢護回 */ + add_io(0, 0); /* 把igetch恢復回 */ pressanykey(); close(fd); - if (!showdeadth(deadtype(mychicken))); + showdeadth(deadtype(mychicken)); unlockutmpmode(); return 0; } diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c index 93342e00..4d64e416 100644 --- a/mbbsd/gamble.c +++ b/mbbsd/gamble.c @@ -1,4 +1,4 @@ -/* $Id: gamble.c,v 1.34 2003/05/26 11:24:28 ptt Exp $ */ +/* $Id: gamble.c,v 1.35 2003/06/28 08:45:02 kcwu Exp $ */ #include "bbs.h" #ifndef _BBS_UTIL_C_ @@ -47,7 +47,7 @@ show_ticket_data(char betname[MAX_ITEM][MAX_ITEM_LEN],char *direct, int *price, if (!(fp = fopen(genbuf, "r"))) { prints("\n目前並沒有舉辦賭盤\n"); snprintf(genbuf, sizeof(genbuf), "%s/" FN_TICKET_OUTCOME, direct); - if (more(genbuf, NA)); + more(genbuf, NA); return 0; } fgets(genbuf, MAX_ITEM_LEN, fp); |